User Tools

Site Tools


set_zone_script

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
set_zone_script [2024/02/22 00:07] justinset_zone_script [2024/02/22 11:48] (current) justin
Line 1: Line 1:
 ======Set Zone Script====== ======Set Zone Script======
 ---- ----
-Coming in v1.1! 
- 
 (WIP) (WIP)
  
 ====Signature:==== ====Signature:====
 <code python> <code python>
-function()+set_zone_script(zone_name, script_name, script_trigger)
 </code> </code>
  
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
-| | | | |+|zone_name| |[[String]]|Yes| 
 +|script_name| |[[String]]|Yes| 
 +|script_trigger|When to trigger the [[script]]. Possible values are CHARACTER_ENTER and CHARACTER_EXIT for passable zones, and CHARACTER_COLLIDE for impassable zones.|Trigger Type|Yes|
  
 ====Example:==== ====Example:====
 <code bauxite> <code bauxite>
-function();+
 </code> </code>
 //Results:// //Results://
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Function** function to...+Use the **Set Zone Script** function to...
 </WRAP> </WRAP>
  
Line 28: Line 28:
 <WRAP half column> <WRAP half column>
 ====Editor Node:==== ====Editor Node:====
-{{:function_node.png?nolink|}}+{{:set_zone_script_node.png?nolink|}}
 </WRAP> </WRAP>
  
set_zone_script.1708589259.txt.gz · Last modified: 2024/02/22 00:07 by justin