- Joined
- Mar 27, 2008
- Messages
- 8,035
Does this causes desync ?
Each player has their own personal storage, and other player can't see others' storage.
What I did was, creating unit separately from all player, each having their own storage, and the item is stored inside the storage.
Now, the unit is indeed affected by GetLocalPlayer but the item does not.
So, does this causes desync ?
I've tested the trigger above, and yes, you can't see Player 2's Paladin but an item is dropped, meaning that the unit can't be seen but the item is there to be stored.
-
Actions
- Set UnitType = No unit-type
- Custom script: if GetLocalPlayer() == Player(1) then
- Set UnitType = Paladin
- Custom script: endif
- Unit - Create 1 UnitType for Player 2 (Blue) at (Center of (Playable map area)) facing Default building facing degrees
- Hero - Create Claws of Attack +15 and give it to (Last created unit)
- Hero - Drop (Last created item) from (Last created unit)
Each player has their own personal storage, and other player can't see others' storage.
What I did was, creating unit separately from all player, each having their own storage, and the item is stored inside the storage.
Now, the unit is indeed affected by GetLocalPlayer but the item does not.
So, does this causes desync ?
I've tested the trigger above, and yes, you can't see Player 2's Paladin but an item is dropped, meaning that the unit can't be seen but the item is there to be stored.