-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@PersonalSpace trigger malfunctioning #1250
Comments
What version of sphere you used? |
Compiled at Jun 14 2024 (21:17:53) [branch master / build 3752 / GIT hash 8e44484] |
Right now, the lane marked in red causes any attempt to fail if stam is lesser than maxstam. Can be changed, but I see no real drama to let it be as it is cos u can set ur own custom system. But I can agree it is confusing. |
Im using this setting already |
we should add a local.AllowifStamIsLowerThanMaxStam or another sphere.ini config for it. Whatever u decide I can try. |
I cant make that decision, thats up to devs. |
the trigger is not useless but I agree with you that there should be a way to bypass that behaviour. I think a local.bypassStam should do the job. MAybe we could remove the check I marked in red, and include that check on the sphere-x scriptpack instead source. |
https://wiki.spherecommunity.net/index.php?title=@PersonalSpace
Basically it will allow stepper step over you only once with full stam, than he get blocked, untill you set ARGN1 to 0 and create your own stamina drain.
ARGN2 - doesnt do anything so setting it to 1 or 0 does non
This is basically how I had to do it to allow players step over NPCs and drain some stamina
ON=@personalspace
IF (<SRC.ISPLAYER>)
IF (<SRC.STAM> > 10)
SRC.STAM -=10
ARGN1=0
ENDIF
ENDIF
The text was updated successfully, but these errors were encountered: