| 06-12-2008, 08:02 AM | #1 |
Hi. I'm searching for a way to find which player just gave an order which is captured by this event : JASS:call TriggerRegisterAnyUnitEventBJ( trig, EVENT_PLAYER_UNIT_ISSUED_POINT_ORDER ) So I looked for a "GetOrderingPlayer()" function but I doesn't seem to exist. ![]() After that I thought about searching which player is selecting the ordered unit but if two ( or more ) players are selecting it won't work ... That's why I'm asking you pros of JASS if it is possible or not. ![]() |
| 06-12-2008, 08:26 AM | #2 |
GetOwningPlayer(GetTriggerUnit()) |
| 06-12-2008, 08:51 AM | #3 |
grim001 the ordered unit is controlled by several players so I can't do that. |
| 06-12-2008, 04:19 PM | #4 |
Could you provide the entire code rather than just one line, we can't help you if we don't understand what you're trying to do. |
| 06-12-2008, 04:22 PM | #5 |
I do not believe it is possible. |
| 06-12-2008, 07:34 PM | #6 | |
Quote:
![]() So to fill this gap of JASS is there an easy way to hide a unit to a player but not to his allies ? |
| 06-14-2008, 08:16 PM | #7 |
Depends what you want to do with it. If it's just going to be moved around and ONLY do things visually, then you can hide it locally or move it somewhere else on the map locally. Why do you need it hidden for 1 player but not the rest? |
