- Joined
- Sep 11, 2006
- Messages
- 172
WE doesn't like my remove location custom script. Any ideas? 
-
Shotgun
-

Events
-


Unit - A unit Is attacked
-
-

Conditions
-


((This trigger) is on) Equal to True
-


(Unit-type of (Attacking unit)) Equal to Survivor (Infantry Shotgun)
-
-

Actions
-


Custom script: local player p
-


Set sound[3] = No sound
-


Custom script: if GetLocalPlayer() == GetOwningPlayer(GetAttacker()) then
-


Set sound[3] = 10_Guage_Shotgun_SoundBible_com_74120584 <gen>
-


Custom script: endif
-


Sound - Play sound[3]
-


Set Temp_Point[3] = (Position of (Attacking unit))
-


Special Effect - Destroy ShotgunLight
-


Special Effect - Create a special effect at Temp_Point[3] using war3mapImported\TorchHumanOmni.mdx
-


Set ShotgunLight = (Last created special effect)
-


Wait 0.20 seconds
-


Special Effect - Destroy ShotgunLight
-


Custom script: call RemoveLocation (udg_Temp_Point)
-
-
