Are you trying to get the player number of the owner of the unit? You can just use triggering player for that. Or I'm pretty sure there's a condition to return the owner of a specific unit as well.
No there's something else i want to use with it especially with multiplayer and banks.
So like:
Set DoorKey[PlayerNumber] = Loaded Value from Bank.
This would go with the above pretty much. But these triggers don't have anything to do with my map, I am just using it so they can be understand what's needed.
im not on the computer atm but i didnt see this kind of condition anywhere, so...:
How can I do something like this?
Any unit enter door region
If
DoorKey[getplayernumber] == 1
Owner of triggering unit is from MyPlayer
Move triggering unit instantly to Otherside
???
@DarkForce9999: Go
Are you trying to get the player number of the owner of the unit? You can just use triggering player for that. Or I'm pretty sure there's a condition to return the owner of a specific unit as well.
@Atl0s: Go
No there's something else i want to use with it especially with multiplayer and banks.
So like:
Set DoorKey[PlayerNumber] = Loaded Value from Bank.
This would go with the above pretty much. But these triggers don't have anything to do with my map, I am just using it so they can be understand what's needed.
There's no distinction between "player number" and "player." Any time a player is referenced in triggers, it's just an integer.
TY so much. I wasn't sure if it was Integer wise or not.