User Tools

Site Tools


features:housing:custom_scripts:variable_based_events

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
features:housing:custom_scripts:variable_based_events [2019/03/11 15:55]
Mavrixio
features:housing:custom_scripts:variable_based_events [2019/04/03 13:43]
Mavrixio ↷ Page moved from features:housing:scripts:variable_based_events to features:housing:custom_scripts:variable_based_events
Line 1: Line 1:
-====== Using Variable Based Events ======+====== Using the Variable Based Events ======
  
 You can use [[:​building:​scripts:​events:​variable_based]] but under a few conditons. You can use [[:​building:​scripts:​events:​variable_based]] but under a few conditons.
Line 5: Line 5:
 ===== How to Register a Variable Event ===== ===== How to Register a Variable Event =====
  
-In addition to variables with the "​P_"​ prefix, you are allowed (on the Blueprints only) to the EVENT_ prefix ​(as long as the value starts by p_). \\ +In addition to variables with the "​P_"​ prefix, you are allowed (on the Blueprints only) to the EVENT_ prefixas long as the value starts by "p_" 
-You can also call the UnregisterVariableEvent/​RegisterVariableEvent functions ​(as long as the script parameter starts by p_)+\\ \\ 
 +You can also call the UnregisterVariableEvent/​RegisterVariableEvent functionsas long as the script parameter starts by "p_". 
 +\\ \\ 
 +You can only bypass (using BypassVariableEventyour own varible events (that starts by "​P_"​ : [[https://​nwn.sinfar.net/​res_nss_edit.php?​name=pf_bypassvarevnt|pf_bypassvarevnt]]).
  
 =====  How to Trigger a Variable Event ===== =====  How to Trigger a Variable Event =====
  
 The name of variable events from players scripts must start by P_, for example "​P_EVENT_WANTS_HELP"​. The name of variable events from players scripts must start by P_, for example "​P_EVENT_WANTS_HELP"​.
 +
 +
features/housing/custom_scripts/variable_based_events.txt · Last modified: 2023/12/01 16:13 by Elemuffin

phpBB Appliance - Powered by TurnKey Linux