This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
building:scripts:events:script_based [2019/03/11 00:22] Mavrixio |
building:scripts:events:script_based [2025/03/05 13:29] (current) ItsABadger |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Script Based Events ====== | + | ====== PAGE INFO ALREADY TRANSFERRED TO THE NEW WIKI - Script Based Events ====== |
Those events are tie to a script name/ResRef they will run whenever the script that they are registered to is called. It is good to change the behaviour or a specific script by bypassing it or when the caller doesn't matter, but if you want to do something only when something happen to a specific object, you should use the [[.:variable_based]] system. | Those events are tie to a script name/ResRef they will run whenever the script that they are registered to is called. It is good to change the behaviour or a specific script by bypassing it or when the caller doesn't matter, but if you want to do something only when something happen to a specific object, you should use the [[.:variable_based]] system. |