Do we really need to label our Titles anymore with the new divisions? o,O
Anyhow, I want to create an event for other players to be able to attach triggers to, but I want to be able to force the event from other code I am using...
Aka, I have a function that begins a repeating timer and repeats a fixed number of times (user assigned). When that loop counter reaches <= 0, I pause the timer, and would like to force an event so that users of my library will be able to attach any sort of actions they wish, to this event.
Heck... for that matter... can we force other events? (aka fake an pre-defined event?)
All you have to do is use the Run Trigger action. You can then specify if you want to check the conditions first or just force run the trigger. You don't even need events for triggers, you can make blocks of actions to call when needed if you want. Learning how to utilize Run Trigger and Turn Trigger On/Off can be very helpful for triggering.
Thanks for the quick response, but that won't work. I am creating a library, and I want the event to "happen", so that other map makers can use that event to trigger their own triggers.
I do not know what triggers they might be using from the event, I only wish to notify them the event has happened so they can use it to perform their own actions.
Can I jump into Custom scripts and use em? I'm trying to avoid custom scripts because I'd like to release the library and keep it as transparent as possible, but if it's the only way to throw an event, I can easily jump down into script if that's what it takes.
Would it be as simple as calling the event function??? Without having issues with the (hidden) function pointers/ delegates??? It can't be that easy...
Do we really need to label our Titles anymore with the new divisions? o,O
Anyhow, I want to create an event for other players to be able to attach triggers to, but I want to be able to force the event from other code I am using...
Aka, I have a function that begins a repeating timer and repeats a fixed number of times (user assigned). When that loop counter reaches <= 0, I pause the timer, and would like to force an event so that users of my library will be able to attach any sort of actions they wish, to this event.
Heck... for that matter... can we force other events? (aka fake an pre-defined event?)
@Anthius: Go
All you have to do is use the Run Trigger action. You can then specify if you want to check the conditions first or just force run the trigger. You don't even need events for triggers, you can make blocks of actions to call when needed if you want. Learning how to utilize Run Trigger and Turn Trigger On/Off can be very helpful for triggering.
@Atl0s: Go
Thanks for the quick response, but that won't work. I am creating a library, and I want the event to "happen", so that other map makers can use that event to trigger their own triggers.
I do not know what triggers they might be using from the event, I only wish to notify them the event has happened so they can use it to perform their own actions.
Custom events don't work in the trigger editor. Another one of many unimplemented features.
@RileyStarcraft: Go
In the trigger editor?
Can I jump into Custom scripts and use em? I'm trying to avoid custom scripts because I'd like to release the library and keep it as transparent as possible, but if it's the only way to throw an event, I can easily jump down into script if that's what it takes.
Would it be as simple as calling the event function??? Without having issues with the (hidden) function pointers/ delegates??? It can't be that easy...