User Tools

Site Tools


set_zone_script

Differences

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

Link to this comparison view

Next revision
Previous revision
set_zone_script [2024/02/03 18:03] – created 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) 
 + 
 +====Signature:==== 
 +<code python> 
 +set_zone_script(zone_name, script_name, script_trigger) 
 +</code> 
 + 
 +^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:==== 
 +<code bauxite> 
 + 
 +</code> 
 +//Results:// 
 + 
 +<WRAP center round tip 100%> 
 +Use the **Set Zone Script** function to... 
 +</WRAP> 
 + 
 +---- 
 + 
 +<WRAP group> 
 +<WRAP half column> 
 +====Editor Node:==== 
 +{{:set_zone_script_node.png?nolink|}} 
 +</WRAP> 
 + 
 +<WRAP half column> 
 +</WRAP> 
 +</WRAP> 
 + 
 +~~NOTOC~~
set_zone_script.1707012210.txt.gz · Last modified: 2024/02/03 18:03 by justin