- Joined
- Aug 2, 2008
- Messages
- 154
Setting a sky / skybox for one player
Hello everyone, i have one question!
how do i set a sky / skybox for one player with 'GetLocalPlayer' and without desync?
I've created a simple hero selection system with arrow keys for my map. If you press a key, the next hero will be shown as a preview with an unique sky.
The trigger i am currently using cause desync for sure.
someone told me this can be done with a text string? But i don't understand how and i didn't find a solution on the forums. Please help me =)
Hello everyone, i have one question!
how do i set a sky / skybox for one player with 'GetLocalPlayer' and without desync?
I've created a simple hero selection system with arrow keys for my map. If you press a key, the next hero will be shown as a preview with an unique sky.
The trigger i am currently using cause desync for sure.
- Set PlayerNumber = ((Player number of (Triggering player)) - 1)
- Custom script: if(GetLocalPlayer() == Player(udg_PlayerNumber)) then
- Environment - Set sky to 'some sky'
- Custom script: endif