You are viewing an old version of this page. Return to the latest version.
Version of 17:30, 16 December 2013 by I need to Update My Profile
Difference between revisions of "LUA:RemoveThreatTransfer"
(Created page with "= LUA Functions: IsFlanking() = Checks to see if the given spawn is flanking the target spawn ==== Syntax ==== IsFlanking(param1, param2) ==== Parameters ==== ; Required - ''p...") |
|||
| Line 1: | Line 1: | ||
| − | = LUA Functions: | + | = LUA Functions: RemoveThreatTransfer() = |
| − | + | Removes the threat transfer this spell applied | |
==== Syntax ==== | ==== Syntax ==== | ||
| − | + | RemoveThreatTransfer(param1) | |
==== Parameters ==== | ==== Parameters ==== | ||
| − | ; Required - ''param1 | + | ; Required - ''param1'' (Spawn) |
| − | : ''param1'' is the spawn | + | : ''param1'' is the spawn to remove the threat transfer from |
| − | |||
==== Usage ==== | ==== Usage ==== | ||
<pre> | <pre> | ||
| − | function | + | function remove(Caster, Target) |
| − | + | RemoveThreatTransfer(Caster) | |
end | end | ||
</pre> | </pre> | ||
| − | + | When the spell fades it will remove the threat transfer that it had applied | |
| + | |||
| + | == Notes == | ||
| + | This function can only be used in a spell script | ||
Latest revision as of 17:36, 16 December 2013
LUA Functions: RemoveThreatTransfer()
Removes the threat transfer this spell applied
Syntax
RemoveThreatTransfer(param1)
Parameters
- Required - param1 (Spawn)
- param1 is the spawn to remove the threat transfer from
Usage
function remove(Caster, Target)
RemoveThreatTransfer(Caster)
end
When the spell fades it will remove the threat transfer that it had applied
Notes
This function can only be used in a spell script