TrapFreezePlayer

Prevent the player from moving. Basically, the extreme opposite of a speed potion.

The TurnOn and TurnOff responses are more like a trap than a scale. Turning it on sets the speed to 0. Turning it off resets the speed. When controlling the script directly with ScriptControl, you can specify a value that the player’s speed will be multiplied by. The receptron control of GenericScale is also useful for changing the player’s speed.

Speed controls with different names are multiplied together. Multiple traps with the same freeze_name will be exclusive. Turning off the trap removes its speed control, but not other effects such as from a speed potion or because the player is wielding a sword.

Inherits GenericScale
Parameters freeze_speed (number) The player’s speed will be multiplied by this number while the trap is enabled. Default is 0.
freeze_name (string) Speed control can be multiplied together. Set this parameter if you will have more than one of these traps active at a time.

Discussion




Enter your comment:
If you can't read the letters on the image, download this .wav file to get them read to you.

 
  tnhscript/trapfreezeplayer.txt · Last modified: 2009/02/26 18:15 by telliamed
 
Recent changes RSS feed Creative Commons License Tip Bucket Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki