- Joined
- Dec 13, 2018
- Messages
- 2,384
Acolyte of Life
Hi, so I don't really know JASS at all but need a GetLocalPlayer function to work so I can properly display a fade filter for players that are being damaged.
Here's my trigger:
Here's my trigger:
-
Blood Splat
-

Events
-


Game - DamageEvent becomes Equal to 1.00
-
-

Conditions
-


(Unit-type of DamageEventTarget) Equal to Velma the Dolphin
-
-

Actions
-


Set FilterPath[1] = BloodSplat.tga
-


Set FilterPath[2] = BloodSplat.tga
-


Set FilterPath[3] = BloodSplat.tga
-


Set FilterPath[4] = BloodSplat.tga
-


Set FilterPath[5] = BloodSplat.tga
-


Set FilterPath[6] = BloodSplat.tga
-


Set FilterString = <Empty String>
-


For each (Integer A) from 1 to 6, do (Actions)
-



Loop - Actions
-




Custom script: if GetLocalPlayer() == Player(bj_forLoopAIndex) then
-




Set FilterString = FilterPath[bj_forLoopAIndex]
-




Custom script: endif
-




Cinematic - Fade out and back in over 1.00 seconds using texture BloodSplat.tga and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
-
-
-
-






