Danis[h]
New Member
- Reaction score
- 19
Well, I heard using LocalPlayer was risky because it could cause desyncs, so I was wondering if it was okay to use it in this manner.
Trigger:
- Movement Sound
- Events
- Unit - A unit Is issued an order targeting a point
- Unit - A unit Is issued an order targeting an object
- Unit - A unit Is issued an order with no target
- Conditions
- (Issued order) Equal to (Order(smart))
- (Unit-type of (Ordered unit)) Equal to Noisy sheep
- Actions
- Custom script: if GetOwningPlayer(GetTriggerUnit()) == GetLocalPlayer() then
- Set Sound = boing <gen>
- Custom script: else
- Set Sound = No sound
- Custom script: endif
- Sound - Play Sound
- Events