This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
features:housing:custom_scripts:variable_based_events [2019/03/11 16:18] Mavrixio |
features:housing:custom_scripts:variable_based_events [2023/12/01 16:13] (current) Elemuffin |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Using Variable Based Events ====== | + | ====== PAGE INFO ALREADY TRANSFERRED TO THE NEW WIKI - 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 10: | Line 10: | ||
\\ \\ | \\ \\ | ||
You can only bypass (using BypassVariableEvent) your own varible events (that starts by "P_" : [[https://nwn.sinfar.net/res_nss_edit.php?name=pf_bypassvarevnt|pf_bypassvarevnt]]). | You can only bypass (using BypassVariableEvent) your own varible events (that starts by "P_" : [[https://nwn.sinfar.net/res_nss_edit.php?name=pf_bypassvarevnt|pf_bypassvarevnt]]). | ||
- | |||
- | {{https://sinfar.net/images/forum/players_scripts/ph_mod_events.png?nolink&|Image}} | ||
===== 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". | ||
+ | |||