• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Triggering player for a different trigger?

Status
Not open for further replies.
Level 5
Joined
Feb 1, 2009
Messages
107
If I make one trigger like this:

  • some_trigger
    • Events
      • Player - Player 1 (Red) types a chat message containing example_text as An exact match
    • Conditions
    • Actions
      • Trigger - Run example_trigger <gen> (ignoring conditions)
Then will the "triggering player" for the above trigger be transfered to the next trigger, if I do it like this?

  • example_trigger
    • Events
    • Conditions
    • Actions
      • Unit - Create 1 example_unit for >>>Triggering Player<<< at (Center of his starting position <gen>) facing Default building facing degrees
So, what I'm asking is: will the second trigger run specificly for the player who triggered the first one? If not, how can I do this?
 
Level 16
Joined
Oct 12, 2008
Messages
1,570
uhm, i always thought
  • Trigger - Run SomeTrigger
action would run the acions of that trigger as if they were its own, so making the 'Triggering Unit' in that trigger the unit who triggered the first trigger, and also for triggering Player and so on,,
Well, what do i know about it,,
Making a variable is a nice option, as long as you dont use it after waits,,
 
Status
Not open for further replies.
Top