HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

<help> how to refer to ORDER ISSUER?

08-14-2003, 03:50 PM#1
danny760311
I wanna make a systm when a player orders a hero to "smart" on a unit, he'll gets information...

So the trigger is set up like this:

Unit informatoin 1
....Events
........Unit - A unit Is issued an order targeting an object
....Conditions
........((Triggering unit) is A Hero) Equal to True
........(Issued order) Equal to (Order(smart))
....Actions
........Game - Display to (Player group((MY PROBLEM))) the text: <string>

What should MY PROBLEM be setted?

Because in this map, disconnecters shares control to all allies, so if it's set "Owner of (Triggering unit)" (I think most of people will do this), when a player controls an ALLY unit and do this, he won't get the information (the trigger acts on the OWNER OF TRIGGERING UNIT, not the ORDER ISSUER).

I want the "player" to refer to the player who issues order the unit, of course, WE hasn't it...

What can I do instead????
08-14-2003, 09:12 PM#2
Zoi
Use "Event Response - Ordered Unit" and "Target Unit of Issued Order" to refer to the unit being ordered and the target of that order, respectively.

If you want to refer to the player, you could use "Owner of Unit(whatever)"
08-15-2003, 01:24 AM#3
danny760311
The problem is that I want to refer to THE PLAYER WHO ISSUES THE ORDER.

Ex:
When player 1 controls a unit owned by player 2 and issues "smart" order on a neutral-passive unit (their are specialfied in my map to serve informatins), he can do this by sharing control or player 2's disconnecting. I want the ORDER ISSUER (player 1) to get the information, not owner of ordered unit (player 2)......

Ordered unit refers to the unit is ordered. And owner of ordered unit will refer to player 2, not player 1...

Target Unit of Issued Order refers to the neutral-passive unit....:( :(
08-15-2003, 02:29 AM#4
Oinkerwinkle
I don't think you can reference that directly, but maybe you can fake it my sending it to everyone that has it selected and has control.