- Joined
- Jul 11, 2008
- Messages
- 104
-
Events
- Player - Player (1) Red types a chat message containing -revive As an exact match
-
Conditions
- (SeedofR <gen> is on) Equal to True
-
Actions
- Blah blah blah
that event is a player chat event...
that event cant be used with units because the player has to type in a chat event...
it would help if u also say wat u r trying to do
Have you tried using this action?
- Trigger - Add to (Your Trigger) the event (Player - (Owner of (Triggering unit)) types a chat message containing -revive as An exact match)
Or, instead use an ITE and check if triggering player is owner of unit.
Okay thats it in terms of versatility(and MUIness)..
Because the native that generates the event object uses pass-by-value arguments so it is forced to use whatever value it is passed when you call it. Yes you can use variables or even other natives to get the values, but only the value they evaluate to at the time of the call is used to create the event object and that event object will continue to use that value until the end of the trigger's life (the trigger is destroyed) in which case the event object is also destroyed.In events, why will it not allow me to select a variable for Owner of Unit (Instead of player 1 - red) no matter what variable type it is? It's only letting me select units that have already been generated on the map.