Difference between revisions of "LUA:AddMultiFloorLift"

(Created page with "{{PageHeaderChild|LUA|AddMultiFloorLift}} = LUA Functions: AddMultiFloorLift() = Sets a spawn as a multi floor lift ==== Syntax ==== AddMultiFloorLift(param1) ==== Parameter...")
 
 
Line 1: Line 1:
{{PageHeaderChild|LUA|AddMultiFloorLift}}
+
{{LUAFunction
 
+
|Name = AddMultiFloorLift
= LUA Functions: AddMultiFloorLift() =
+
|Description = Sets a spawn as a multi floor lift
Sets a spawn as a multi floor lift
+
|Param1 = Spawn
 
+
|Param1Desc = is the widget to be set as a multi floor lift
 
+
|Example =
==== Syntax ====
+
<pre>
AddMultiFloorLift(param1)
+
function spawn(NPC)
 
+
  AddMultiFloorLift(NPC)
 
+
end
==== Parameters ====
+
</pre>
; Required - ''param1'' (Spawn)
+
|ExampleDesc = This will set the widget as a multi floor lift when it spawns
: ''param1'' is the widget to be set as a multi floor lift
+
|Notes = This can only be used on widgets
 
+
}}
 
 
==== Usage ====
 
function spawn(NPC)
 
  AddMultiFloorLift(NPC)
 
end
 
 
 
This will set the widget as a multi floor lift when it spawns
 
 
 
 
 
== Notes ==
 
This can only be used on widgets
 

Latest revision as of 12:01, 30 January 2021


LUA:AllFunctions - AddMultiFloorLift

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


Sets a spawn as a multi floor lift

Syntax

AddMultiFloorLift(param1)

Parameters

Required - param1 (Spawn)
param1 is the widget to be set as a multi floor lift


Example

function spawn(NPC)
  AddMultiFloorLift(NPC)
end

This will set the widget as a multi floor lift when it spawns

Notes

This can only be used on widgets