S
shadowvzs
Guest
i dont can use variable inside the this custom script?
i need this, exemple:
and work if i want change player group to local player? exempl:
i dont like playergroup there because if i use unit transmission and 2 player have trans mission then playergroup will be overwrited and first player dont have cinematic mode off
i need this, exemple:
Code:
Set Player = (Triggering player)
Set TempInteger = (Player number of Player)
Custom script: Custom script: if GetLocalPlayer() == Player(udg_TempInteger) then
Cinematic - Apply a filter over 4.00 seconds using Normal blending on texture Black Mask, starting with color (0.00%, 0.00%, 0.00%) and 100.00% transparency and ending with color (100.00%, 100.00%, 100.00%) and 0.00% transparency
Custom script: endif
and work if i want change player group to local player? exempl:
Code:
Dodo
Events
Unit - A unit enters Dodo Forest <gen>
Conditions
(Quests[0] is discovered) Equal to False
(Entering unit) Equal to MyHero[(Player number of (Owner of (Entering unit)))]
Actions
Quest - Flash the quest dialog button
Quest - Mark Quests[0] as Discovered
Camera - Lock camera target for (Owner of (Triggering unit)) to (Triggering unit), offset by (0.00, 0.00) using Default rotation
Camera - Set (Owner of (Triggering unit))'s camera Distance to target to 600.00 over 2.00 seconds
Camera - Set (Owner of (Triggering unit))'s camera Angle of attack to 340.00 over 2.00 seconds
Camera - Set (Owner of (Triggering unit))'s camera Rotation to ((Facing of (Triggering unit)) + 180.00) over 2.00 seconds
Camera - Set (Owner of (Triggering unit))'s camera Height Offset to 75.00 over 2.00 seconds
Custom script: Custom script: if GetLocalPlayer() == Player(0) then
Cinematic - Turn cinematic mode On for (All players)
Cinematic - Send transmission to (All players) from (Triggering unit) named (Name of (Triggering unit)): Play No sound and display Oh yeah, i found th.... Modify duration: Set to 3.00 seconds and Wait
Wait 3.00 seconds
Cinematic - Turn cinematic mode Off for (All players)
Custom script: Custom script: endif
Camera - Reset camera for (Owner of (Triggering unit)) to standard game-view over 2.00 seconds
Trigger - Turn off (This trigger)
i dont like playergroup there because if i use unit transmission and 2 player have trans mission then playergroup will be overwrited and first player dont have cinematic mode off