• 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] 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?
 
Level 4
Joined
May 6, 2007
Messages
87
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.
 
Level 4
Joined
Jun 8, 2004
Messages
66
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.
Top