Changes between Version 25 and Version 26 of Triggers
- Timestamp:
- Jun 18, 2015, 12:02:45 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Triggers
v25 v26 79 79 The `this` keyword refers to the `Trigger` object anything defined under the prototype + additional data, which makes it easy to use. 80 80 81 == Registering triggers==81 === Registering triggers === 82 82 83 83 When you have your actions made, you need to bind them to a certain event. This is done via the predefined RegisterTrigger function. Triggers can be enabled in any method, but you usually need to enable some at the start of the game. You can use the following schema: