Map on second page
Why does this work
Revive Hero
Events
Time - Map_Revive_Timers[1] expires
Time - Map_Revive_Timers[2] expires
Time - Map_Revive_Timers[3] expires
Time - Map_Revive_Timers[4] expires
Time - Map_Revive_Timers[6] expires
Time...
What makes this work
scope RespawnHero
private function Callback takes nothing returns nothing
if ( TimerGetRemaining(udg_Map_Revive_Timers[(GetPlayerId(GetOwningPlayer(GetEnumUnit())))]) < 1.00 ) then
call ReviveHeroLoc( GetEnumUnit(), GetRectCenter(gg_rct_Hero_Spawn), true )...
private function Actions takes nothing returns nothing
local location TargetPoint = GetSpellTargetLoc()
local group TargetUnits
local unit TargetUnit
local location TargetUnitLoc
local unit DummyUnit
set udg_Map_TempPlayer = GetOwningPlayer(GetSpellAbilityUnit())...
I'm trying to make a trigger that does the following:
When hero H001 casts a spell and has buff B000, create a dummy unit.
Then, add a skill to the dummy unit. The skill is the same skill that was casted by hero H001. The dummy unit is then given the order to cast the spell on the same...
I have a 65536 second faerie fire cast on a unit when he picks up an item. However, I want the faerie fire to go away when the unit drops the item. Removing the buff from the unit doesn't seem to work. Is the only way to purge the unit?
I get the following error boxes when I try to open my map:Trigger Function Does Not Exist In Database:Trigger Function Does Not Exist In Database: GetLastCreatedItem
Trigger Function Does Not Exist In Database: OperatorEqual
Then, WE crashes with this:
I haven't touched NewGen since it...
How do I make it so that I can use the struct in the callback function?library NetTrap initializer Init uses ABC
private struct Net
unit DyingUnit
group TrapGroup
location TrapLocation
method onDestroy takes nothing returns nothing
set.TrapGroup = null...
I want to set a unit group to all the heroes within 5000 range of unit God, having less than 50% hp, and on the enemy team. What is the simplest way to do this in JASS? I'm hoping it's simpler than what GUI gives (multiple functions that filter out units).
Thank you very much. ;)
My dummy unit isn't created. Timer problem?
If I move a unit (pos: x,y) to pos:(x+v, y+v), would it move towards the upper right?
Also, my main problem. Now, a unit is made. But the unit isn't moved.
library ThrowKnife initializer ThrowKnife uses HSAS
globals
private constant integer...
Hey there. I just started learning JASS yesterday evening, and spent roughly 6 hours trying to duplicate a stifling dagger. However, I failed pretty hard. :thdown:
My attempt (warning your head will explode):
So now, I'd like to see how it's done by somebody more experienced. It would be...
Yeah.. hey. I just started learning JASS today, and I've been trying to make this spell work for quite a while. Right now, I have a syntax error with these lines:
location TargetLocation = GetUnitLoc( TargetUnit )
location KnifeLocation = GetUnitLoc( Knife )
P.S. How can I...