| 08-22-2010, 09:52 PM | #1 |
Is it possible for different players to display multiple skies simultaneously? ie. player 1 sees "felwood sky", while player 2 sees "lordaeron summer sky". I am making a map with different cutscenes running at the same time, for different players and was wondering if this is possible. |
| 08-22-2010, 10:23 PM | #2 |
Yes, this is likely possible using a GetLocalPlayer if block. JASS:if GetLocalPlayer()==myPlayer then //change the sky here. endif |
| 08-24-2010, 04:26 AM | #3 | |
Quote:
Ah I'm still noob... not sure if i understand that yet, is that possible to do in the GUI? also.. I am having trouble making this effect only trigger for one specific player also Trigger: Cinematic - Fade in over # seconds using texture Black Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency |
| 08-24-2010, 05:47 AM | #4 |
local player not allowed in GUI. |
| 08-24-2010, 11:39 AM | #5 |
Trigger: Actions![]() Custom script: if GetLocalPlayer() == Player(#) then![]() Environment - Set sky to Generic Sky![]() Cinematic - Fade in over # seconds using texture Black Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency![]() Custom script: endifObviously replace the Player(#) with the correct number. Keep in mind that jass uses different player numbers from GUI: Red is 0, Blue is 1, Teal is 2, etc.. Or if you're planning on doing it for (Owner of (Triggering unit)) then just use GetOwningPlayer(GetTriggerUnit()). |
| 08-25-2010, 12:21 AM | #6 | |
Quote:
Works perfectly. Thanks so much!! |
