
First Script!
Moderator: Cheaters
-
- V.I.P.
- Posts: 332
- Joined: March 4th, 2007, 12:39 am
- Location: United States
But if WEU does care about it, then it wont let me enable the trigger! 

Doesn't Dekar make the world easier?
"I Wumbo. YOU Wumbo. He she me.. WUMbo. Wumbo; WumboING; WumBOLogy; the study of WUMBO. It's first grade, Spongebob!"
"I'm sorry I doubted your great wisdom Patrick!"
Catch me on Azeroth (U.S. East) - NameSpoofer
-
- Forum Drunk
- Posts: 2901
- Joined: January 17th, 2007, 4:22 pm
- Has thanked: 1 time
- Been thanked: 1 time
Insert it the way you insert cheatpacks... Just extract and use JASScraft 
I don't know if there's another way... I've read something about a cracked
WE syntax checker .dll file, but I haven't found a dl link.. -.-
Maybe Aero knows a workaround...

I don't know if there's another way... I've read something about a cracked
WE syntax checker .dll file, but I haven't found a dl link.. -.-
Maybe Aero knows a workaround...
Don't pm me with Warcraft questions, this is a forum so just make a post!
In the world of thinking we are all immigrants. -Robert Nozick
-
- V.I.P.
- Posts: 332
- Joined: March 4th, 2007, 12:39 am
- Location: United States
Zomg!!@!@ JASScraft is giving the same problem.. -.-
'cannot convert unitevent to player event'
And now, (I'm in the war3map.j) it's telling me that I can't 'convert code to boolexpr'
Why does JASS have to be so gay sometimes -.-
edit- In WE, it's only giving me the unitevent->playerevent in this line:
'cannot convert unitevent to player event'
And now, (I'm in the war3map.j) it's telling me that I can't 'convert code to boolexpr'
Why does JASS have to be so gay sometimes -.-
edit- In WE, it's only giving me the unitevent->playerevent in this line:
Code: Select all
call TriggerAddCondition(gg_trg_spell2,function spell2_cond)
Doesn't Dekar make the world easier?
"I Wumbo. YOU Wumbo. He she me.. WUMbo. Wumbo; WumboING; WumBOLogy; the study of WUMBO. It's first grade, Spongebob!"
"I'm sorry I doubted your great wisdom Patrick!"
Catch me on Azeroth (U.S. East) - NameSpoofer
-
- V.I.P.
- Posts: 332
- Joined: March 4th, 2007, 12:39 am
- Location: United States
Dekar, you gotta understand, I'm still an uber noob at JASS -.- What you mean by get a player event?
Also, I have 'buffed' up my spell ^.^
Here is the newest 1.
Still same problem with unitevet->playerevent, but now there is a syntax error in this line:
In WEU, it says
Eh.. I'm trying -.-
Also, I have 'buffed' up my spell ^.^
Here is the newest 1.
Code: Select all
function spell2_cond takes nothing returns boolean
return GetSpellAbilityId() == 'A001'
endfunction
function spell2_act takes nothing returns nothing
local integer int_weather
call AddWeatherEffectSaveLast( gg_rct_blizzard_spell2, 'SNbs' )
set udg_weather = GetLastCreatedWeatherEffect()
call EnableWeatherEffect( udg_weather, true )
loop
exitwhen int_weather > 8
call AddSpecialEffectLocBJ( GetRandomLocInRect(gg_rct_blizzard_spell2()) "Abilities\\Spells\\Undead\\FrostNova\\FrostNovaTarget.mdl")
set int_weather = int_weather + 1
call TriggerSleepAction( .20)
endloop
call TriggerSleepAction( 6.00 )
call EnableWeatherEffect( udg_weather, false )
call RemoveWeatherEffectBJ( udg_weather )
endfunction
//==== Init Trigger NewTrigger ====
function InitTrig_spell2 takes nothing returns nothing
set gg_trg_spell2 = CreateTrigger()
//call TriggerRegister__(gg_trg_NewTrigger, )
call TriggerRegisterAnyUnitEventBJ( gg_trg_spell2, EVENT_UNIT_SPELL_EFFECT)
call TriggerAddCondition( gg_trg_spell2, Condition( function spell2_cond ) )
call TriggerAddAction(gg_trg_spell2, function spell2_act)
endfunction
Code: Select all
call AddSpecialEffectLocBJ( GetRandomLocInRect(gg_rct_blizzard_spell2()) "Abilities\\Spells\\Undead\\FrostNova\\FrostNovaTarget.mdl")
Code: Select all
Expected '
Doesn't Dekar make the world easier?
"I Wumbo. YOU Wumbo. He she me.. WUMbo. Wumbo; WumboING; WumBOLogy; the study of WUMBO. It's first grade, Spongebob!"
"I'm sorry I doubted your great wisdom Patrick!"
Catch me on Azeroth (U.S. East) - NameSpoofer
-
- Forum Staff
- Posts: 829
- Joined: January 28th, 2007, 8:10 pm
- Title: JASS Programmer
- Location: Canada
Code: Select all
function Spell2Cond takes nothing returns boolean
return(GetSpellAbilityId()=='A001')
endfunction
function SpellTimer takes nothing returns nothing
call DestroyEffect(AddSpecialEffect("Abilities\\Spells\\Undead\\FrostNova\\FrostNovaTarget.mdl",GetRandomReal(GetRectMinX(gg_rct_blizzard_spell2),GetRectMaxX(gg_rct_blizzard_spell2)),GetRandomReal(GetRectMinY(gg_rct_blizzard_spell2),GetRectMaxY(gg_rct_blizzard_spell2))))
endfunction
function Spell2Actions takes nothing returns nothing
local timer t=CreateTimer()
local weathereffect we=AddWeatherEffect(gg_rct_blizzard_spell2,'SNbs')
call EnableWeatherEffect(we,true)
call TimerStart(t,0.2,true,function SpellTimer)
call PolledWait(1.6)
call DestroyTimer(t)
call PolledWait(4.4)
call EnableWeatherEffect(we,false)
call RemoveWeatherEffect(we)
set t=null
set we=null
endfunction
function InitTrig_spell2 takes nothing returns nothing
set gg_trg_spell2=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_spell2,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(gg_trg_spell2,Condition(function Spell2Cond))
call TriggerAddAction(gg_trg_spell2,function Spell2Actions)
endfunction
-
- V.I.P.
- Posts: 332
- Joined: March 4th, 2007, 12:39 am
- Location: United States
Yesssss.. Thank you much, yes? 
Now I gotta make another spell for you to correct for me.. -.-

Now I gotta make another spell for you to correct for me.. -.-
Doesn't Dekar make the world easier?
"I Wumbo. YOU Wumbo. He she me.. WUMbo. Wumbo; WumboING; WumBOLogy; the study of WUMBO. It's first grade, Spongebob!"
"I'm sorry I doubted your great wisdom Patrick!"
Catch me on Azeroth (U.S. East) - NameSpoofer
-
- Forum Staff
- Posts: 829
- Joined: January 28th, 2007, 8:10 pm
- Title: JASS Programmer
- Location: Canada
-
- V.I.P.
- Posts: 332
- Joined: March 4th, 2007, 12:39 am
- Location: United States
Ok, I made a somewhat similar spell, but I used your timer shit, (does seem to set-up easier!
) and your special effect thing.. Though I don't understand how that works.. Care to explain it? 
Now what I'm wanting to know is how I can damage and freeze every unit in the AOE (550), or in the region I centered at target point of abil cast..
I'm thinking that.. wait.. I actually have no idea where to start on the damage adding and freezing.. -.-


Now what I'm wanting to know is how I can damage and freeze every unit in the AOE (550), or in the region I centered at target point of abil cast..
Code: Select all
function Spell3Cond takes nothing returns boolean
return(GetSpellAbilityId()=='A002')
endfunction
function SpellTimer2 takes nothing returns nothing
call DestroyEffect(AddSpecialEffect("Abilities\\Spells\\Undead\\FrostNova\\FrostNovaTarget.mdl",GetRandomReal(GetRectMinX(gg_rct_spell3),GetRectMaxX(gg_rct_spell3)),GetRandomReal(GetRectMinY(gg_rct_spell3),GetRectMaxY(gg_rct_spell3))))
endfunction
function Spell3Act takes nothing returns nothing
local timer t=CreateTimer()
call MoveRectToLoc(gg_rct_spell3, GetSpellTargetLoc())
call TimerStart(t, 0.1, true, function SpellTimer2)
call PolledWait(2.0)
call DestroyTimer(t)
set t=null
endfunction
function InitTrig_spell3 takes nothing returns nothing
set gg_trg_spell3=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_spell3, EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddAction(gg_trg_spell3, function Spell3Act)
call TriggerAddCondition(gg_trg_spell3,Condition(function Spell3Cond))
endfunction
Doesn't Dekar make the world easier?
"I Wumbo. YOU Wumbo. He she me.. WUMbo. Wumbo; WumboING; WumBOLogy; the study of WUMBO. It's first grade, Spongebob!"
"I'm sorry I doubted your great wisdom Patrick!"
Catch me on Azeroth (U.S. East) - NameSpoofer
-
- Forum Staff
- Posts: 829
- Joined: January 28th, 2007, 8:10 pm
- Title: JASS Programmer
- Location: Canada