Difference between revisions of "LUA:Bind"

(Created page with "= LUA Functions: Bind() = Sets the bind point of the player to his/hers current location. ==== Syntax ==== Bind(param1) ==== Parameters ==== ; Required - ''param1'' (Spawn) :...")
 
 
Line 1: Line 1:
= LUA Functions: Bind() =
+
{{LUAFunction
Sets the bind point of the player to his/hers current location.
+
|Name = Bind
 
+
|Description = Sets the bind point of the player to his/her current location.
 
+
|Param1 = Spawn
==== Syntax ====
+
|Param1Desc = is the player to bind, must be a player
Bind(param1)
+
|Example =
 
 
 
 
==== Parameters ====
 
; Required - ''param1'' (Spawn)
 
: ''param1'' is the player to bind, must be a player
 
 
 
 
 
==== Usage ====
 
 
<pre>
 
<pre>
 
function cast(Caster, Target)
 
function cast(Caster, Target)
Line 18: Line 10:
 
end
 
end
 
</pre>
 
</pre>
 
+
|ExampleDesc = This is a simple bind spell
A simple bind spell.
+
|Notes = None
 +
}}

Latest revision as of 12:20, 30 January 2021


LUA:AllFunctions - Bind

Return to: LUA:AllFunctions | Tutorials | Portal | Forum | Project Manager | Bug Tracker


Sets the bind point of the player to his/her current location.

Syntax

Bind(param1)

Parameters

Required - param1 (Spawn)
param1 is the player to bind, must be a player


Example

function cast(Caster, Target)
    Bind(Caster)
end

This is a simple bind spell

Notes

None