Kage Loop
Events
Time - Every 0.15 seconds of game time
Conditions
Actions
Set kagePoint = (kagePoint offset by (Real(kageCount)) towards (Angle from kagePoint to (Position of kageTarget)) degrees)
Set kageCount = (kageCount + 1)
If (All Conditions are...
kotgDefeat
Events
Unit - A unit Dies
Conditions
(Triggering unit) Equal to Keeper of the Grove 0024 <gen>
Actions
Set GameON = False
Set TempUnitGroup = (Units in (Playable map area) matching ((((Owner of (Matching unit)) controller) Equal to...
Sabaku Sousou
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Sabaku Sousou
Actions
Set SousouCaster = (Triggering unit)
Set SousouTarget = (Target unit of ability being cast)
If (All...
I don't want the sound to play for all players, just one. How would I do that?
I searched already and the JASS code I tried didn't work..
Set TmpSound = GoodJob <gen>
Set TmpPlayer = (Triggering player)
Custom script: call PlaySoundForPlayer( udg_TmpPlayer...
Why is it deactivating when I unpause my hero?
I have another spell for my hero that involves pausing but it does not deactivate immolation.
Here's the spell that deactivates immo:
Cast Goukakyuu
Events
Unit - A unit Starts the effect of an ability
Conditions...
Turn List
Events
Conditions
Actions
-------- Mafia 1 --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(player_TurnList[1] slot status) Equal to Is playing...
I made a Dialog-system voting system where you can vote for the players in-game. How would I check which player has the most votes? Thanks!
The vote points are integer.
Parasite
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Parasite
Actions
Custom script: local location TempPoint = GetUnitLoc(GetSpellTargetUnit())
Custom script: call AddSpecialEffectLocBJ(...
If I cast Entangling Roots on my Barrens Tree, which is a building using the Barrens Tree model, it won't show the effect? How do I fix this? However if I change it into an Abomination it works..
Player Leave
Events
Player - Player 1 (Red) leaves the game
Player - Player 2 (Blue) leaves the game
Player - Player 3 (Teal) leaves the game
Player - Player 4 (Purple) leaves the game
Player - Player 5 (Yellow) leaves the game
Player -...
You know how in Island Defense, you can activate the Auto-Cast ability which allows you steal gold from the Titan? How would I make the similar effect? I tried Searing Arrows but doesn't seem to work.