SphereCommunity
Step on player - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Step on player (/Thread-Step-on-player)



Step on player - Rizz - 07-04-2014 12:04 AM

When you step on player you trigger @personalspace.
If you set a value to ARGN1 and your stamina is below that value you cannot step on and you get the message "you are not strong enough balblabla".

The problem comes out when your stamina > ARGN1: you are still not able to pass through the characater in every directions (usually just one or two) but you will not get any message.

How can i fix this problem?


RE: Step on player - Feeh - 07-04-2014 01:34 AM

I may have answered your question in this post
http://forum.spherecommunity.net/Thread-ON-PersonalSpace?pid=16966#pid16966

If there is something additional that this thread did not cover, let me know Smile


RE: Step on player - Skul - 07-04-2014 01:37 AM

use 'return 0'
Code:
on=@personalspace
if (<stamina> < <dargn1>)
  sysmessage You are too fatigue to pass through.
  return 1
else
  return 0
endif



RE: Step on player - Rizz - 07-04-2014 08:23 AM

Thx Big Grin