User Tools

Site Tools


features:housing:custom_scripts:variable_based_events

This is an old revision of the document!


Using Variable Based Events

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_).
You can also call the UnregisterVariableEvent/RegisterVariableEvent functions (as long as the script parameter starts by p_)

Image

How to Trigger a Variable Event

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.1552319724.txt.gz · Last modified: 2019/03/11 15:55 by Mavrixio

phpBB Appliance - Powered by TurnKey Linux