- Joined
- Jan 26, 2014
- Messages
- 1,281
- Reaction score
- 106
- First Language
- Irish
- Primarily Uses
- N/A
I'd like to check if an event has a certain comment on it. I am doing it on Game_Event's update method. What code should I place in order to know whether the Game_Event has one?
I would also like to ask how you'd do the same if the Event name as something like [WATER] in its name. For example:
What's the efficient way on knowing the event name's contents, and possibly also, get rid of the spaces when detecting them? I mean, doing something like === should be specific. I'd like to know how to get rid of this detection so for example the developer accidentally placed something like:
[WATER] Waterfall
It would still work?
I would also like to ask how you'd do the same if the Event name as something like [WATER] in its name. For example:
What's the efficient way on knowing the event name's contents, and possibly also, get rid of the spaces when detecting them? I mean, doing something like === should be specific. I'd like to know how to get rid of this detection so for example the developer accidentally placed something like:
[WATER] Waterfall
It would still work?
