The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
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



Post: #1
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
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Stealth - disable running - Indiaret - 02-10-2020 08:59 AM
RE: Stealth - disable running - Indiaret - 02-11-2020, 04:48 AM
RE: Stealth - disable running - Coruja - 02-25-2020, 08:16 AM
RE: Stealth - disable running - Llirik - 02-25-2020, 10:17 AM

Forum Jump:


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