Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
Stealth - disable running
|
Author |
Message |
Indiaret 
Apprentice

Posts: 45
Likes Given: 3
Likes Received: 1 in 1 posts
Joined: Apr 2016
Reputation: 0
![]()
|
Stealth - disable running
Hi,
is it able to disable running while player is in stealth ? I mean if he starts to run in stealth, it will reveal him. Player should move in stealth only slowly (so only walking).
Thanks
My code in hiding and stealth:
Code:
[SKILL 21]
DEFNAME=Skill_Hiding
KEY=Hiding
TITLE=Shade
PROMPT_MSG=
EFFECT=10
DELAY=3.0,1.5
STAT_STR=0
STAT_INT=0
STAT_DEX=0
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=0
BONUS_STATS=0
ADV_RATE=0
ON=@Fail
SRC.SYSMESSAGE You can't seem to hide here.
On=@Success
if !(STRCMPI(<tag.class>,thief))
tag.can_backstab=<eval <serv.time> +<var.backstab_timer>*10>
endif
if (<stealth><510)
local.steps=<eval <stealth>/250>
stepstealth=<eval 1+{0 <dlocal.steps>}>
else
float.Steps=<floatval (<stealth>/100)-0.5>
float.Steps2=<floatval 91@<float.steps>>
local.steps=<floattolocal <float.steps2>>
stepstealth=<eval 1+{<local.steps> <eval <local.steps>*2>}>
endif
sysmessage Number of steps :<eval <stepstealth>-1>
ON=@Abort
SRC.SYSMESSAGE You stop trying to hide.
Code:
[SKILL 47]
DEFNAME=SKILL_STEALTH
KEY=Stealth
TITLE=Rogue
PROMPT_MSG=
DELAY=2.5
STAT_STR=0
STAT_INT=0
STAT_DEX=0
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=0
BONUS_STATS=0
ADV_RATE=0
on=@Start
skill hiding
return 1
|
|
02-10-2020 08:59 AM |
|
|
Messages In This Thread |
Stealth - disable running - Indiaret - 02-10-2020 08:59 AM
|
User(s) browsing this thread: 2 Guest(s)