• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Host Variable...

Status
Not open for further replies.
Level 5
Joined
Jul 19, 2007
Messages
95
Well when I try to use the variable "Host" in an Event, it doesnt show up...

And I need it to show up because I'm trying to make it so its like

  • Player - Host types a chat message containing -go as An exact match
but it always says "No generated variable of this type exists." so I have to do

  • Player - Player 1 (Red) types a chat message containing -go as An exact match
How do I make it so it displays Player variables in the Events?

Help?
 
If you set up the Host variable correctly and assigned a player to it, then it should be there. If it isn't, put this in the trigger in which you defined Host:

  • Actions
    • Trigger - Add to Host_Trigger the Event (Player - Host types a chat message containing -go as An exact match
    • -------- Host_Trigger is the trigger that you posted. Make sure Host_Trigger has no events already in it. --------
That should work.
 
The host variable has to be set before you add the event to the trigger (as shown above).

This is because the trigger event takes a player once (aka whatever host is at the time), and doesn't change to reflect the host variable changing.
 
Status
Not open for further replies.
Back
Top