![]() |
stam check - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: stam check (/Thread-stam-check) |
stam check - jexnico - 10-11-2018 02:06 PM my stam even though it's bigger than my dex is not going to go over when the stamina stays 108/100 or 105/100, it's only passing if you have 100/100 150/150 * I did this command but I do not know if it's right, could anyone help me? wanted to allow it to pass over another char when the stamina was greater than or equal to dex ON=@PERSONALSPACE if !(<FLAGS> & statf_dead) IF !((<FLAGS> & statf_hidden) || (<FLAGS> & statf_invisible)) IF (<SRC.STAM> < <SRC.DEX>) RETURN 1 ENDIF ENDIF ENDIF RE: stam check - darksun84 - 10-11-2018 06:49 PM @PersonalSpace, ARGN1 is the stamina required to move (writeable). "return 1" stops the movement, "return 0" allows the movement but shows none of the hard-coded messages. Plain "return" or no return, works as standard. RE: stam check - jexnico - 10-11-2018 10:41 PM (10-11-2018 06:49 PM)darksun84 Wrote: @PersonalSpace, ARGN1 is the stamina required to move (writeable). "return 1" stops the movement, "return 0" is it standard? but on my server I can only go over another player if my stam is equal to dex, is it normal? would not be equal to or greater than the src dex? RE: stam check - jexnico - 10-12-2018 04:05 PM please anyone help me :c |