Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
stam check
Author Message
jexnico
Journeyman
*

Posts: 163
Likes Given: 83
Likes Received: 3 in 3 posts
Joined: Jan 2014
Reputation: 0

Dark Age Easy Shard

Post: #1
stam check
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
10-11-2018 02:06 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,673
Likes Given: 242
Likes Received: 161 in 150 posts
Joined: Mar 2012
Reputation: 34



Post: #2
RE: stam check
@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.
10-11-2018 06:49 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes darksun84's post
jexnico
Journeyman
*

Posts: 163
Likes Given: 83
Likes Received: 3 in 3 posts
Joined: Jan 2014
Reputation: 0

Dark Age Easy Shard

Post: #3
RE: stam check
(10-11-2018 06:49 PM)darksun84 Wrote:  @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.

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?
10-11-2018 10:41 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
jexnico
Journeyman
*

Posts: 163
Likes Given: 83
Likes Received: 3 in 3 posts
Joined: Jan 2014
Reputation: 0

Dark Age Easy Shard

Post: #4
RE: stam check
please anyone help me :c
10-12-2018 04:05 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

This forum uses Lukasz Tkacz MyBB addons.