• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[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?
 
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.
Back
Top