Yes although if you pass Don't Wait to Run Trigger you could end up with a race condition so avoid doing that.
But you know you can make actions directly and give them parameters... only real reason to use Run Trigger is if you want dynamic branching since a variable can hold a Trigger but not an Action. (Maybe that's what you're doing here, though.)
Thanks for the quick reply! I've got no idea what you mean by parameters and stuff and I can't really think right now (It's 8:28 AM, didn't sleep all night haha), but I got my problem solved. Just wanted to make sure that I could do that because I've got the little small red diamond that I believe means something isn't right. I'm pretty sure I have to use the run trigger function for what I'm doing though, I see no other way.
Thanks again!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
If I have a trigger that's triggered by an event, does the event carry on to whatever trigger I run using the "Run Trigger" function?
Example:
Event: Any unit construction process is started
Action: Run "Next Trigger"
Next Trigger
Action: Kill (Progressing Triggering Unit)
Yes although if you pass Don't Wait to Run Trigger you could end up with a race condition so avoid doing that.
But you know you can make actions directly and give them parameters... only real reason to use Run Trigger is if you want dynamic branching since a variable can hold a Trigger but not an Action. (Maybe that's what you're doing here, though.)
@RileyStarcraft: Go
Thanks for the quick reply! I've got no idea what you mean by parameters and stuff and I can't really think right now (It's 8:28 AM, didn't sleep all night haha), but I got my problem solved. Just wanted to make sure that I could do that because I've got the little small red diamond that I believe means something isn't right. I'm pretty sure I have to use the run trigger function for what I'm doing though, I see no other way.
Thanks again!