Problem with a spell!

Da_HP_Geek

New Member
Reaction score
8
Hi! I am making a Harry Potter spell pack just for fun, but I got some problem with the Expelliarmus Abillity... Can some1 help me and check whats wrong...? Best would be if u just upgraded the map, but if you are lazy (like me) so just tell me whats wrong! Credits will be awarded 2 u!
 

Fire-Wolf

S.P.D Smoke Pot Daily, Legalize It!
Reaction score
54
Show us the trigger please. Not many people want to download it and take all the effort to open it up and look at the trigger fix it and save it and upload it back here. Why? Because we are lazy ;) :p
 

GetTriggerUnit-

DogEntrepreneur
Reaction score
129
Expelliarmus
The condition is broken
Trigger:
  • ((Target unit of ability being cast) has buff Unknown (B001) ) Equal to True
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
We are not lazy we just dont hav the energy to do it. Post the triger in GUI tags as many people tend to post it in code or jass tags
 

Da_HP_Geek

New Member
Reaction score
8
Expelliarmus
The condition is broken
Trigger:
  • ((Target unit of ability being cast) has buff Unknown (B001) ) Equal to True

No it isn't, I want it 2 be called nothing in game, and when I gave it no name, its name became that, but it has no name in game ;)

I will check some more ^^
 

Da_HP_Geek

New Member
Reaction score
8
Well, I have bean trying to do Expelliarmus, a disarming spell, but I cant get it work properly...
 

GetTriggerUnit-

DogEntrepreneur
Reaction score
129
C'Mon, just tell what doesn't work. It's simple.

Is it the effect?
Is it the damage?
Is it whatever.

"Not working is not enough".
 

Da_HP_Geek

New Member
Reaction score
8
Its the way, when it shall fly, try it yourself, I updated the spell. You can't see the runway in the air... I added some models to the dummys so u can see how it works... Sorry for explaning so bad, english isn't my best subject (A)

Cause this got to be correct or am I wrong?

Trigger:
  • Expelliarmus
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Expelliarmus
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Target unit of ability being cast) has buff Unknown (B001) ) Equal to True
        • Then - Actions
          • Set Numb = (Execution count of (This trigger))
          • Set Wand_unit[Numb] = (Target unit of ability being cast)
          • Wait until (((Target unit of ability being cast) has buff Expelliarmus! ) Equal to True), checking every 0.10 seconds
          • Set Temp_point = (Position of (Target unit of ability being cast))
          • Set Temp_point2 = (Position of (Triggering unit))
          • Set Temp_FacingAngle = (Angle from Temp_point2 to Temp_point)
          • Unit - Create 1 dummy expelliarmus for (Owner of (Triggering unit)) at Temp_point facing Default building facing degrees
          • Unit - Order (Last created unit) to Neutral Dark Ranger - Silence Temp_point
          • Set Temp_point3 = (Temp_point offset by (500.00 + ((Random real number between 0.00 and 500.00) - (Random real number between 0.00 and 500.00))) towards Temp_FacingAngle degrees)
          • Unit - Order (Last created unit) to Neutral Tinker - Pocket Factory Temp_point3
          • Custom script: call RemoveLocation(udg_Temp_point)
          • Custom script: call RemoveLocation(udg_Temp_point2)
          • Custom script: call RemoveLocation(udg_Temp_point3)
          • Unit - Remove Book of secrets from Wand_unit[Numb]
        • Else - Actions


Its the Neutral Tinker thing that doesn't work...
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
The Unknowk Buff is causing the problem like Blitz said in the first place the trigger cant read it and doesnt know what to do
 

Komaqtion

You can change this now in User CP.
Reaction score
469
The Unknowk Buff is causing the problem like Blitz said in the first place the trigger cant read it and doesnt know what to do

Yeah, and also... put that condition with the first one, and get rid of that "If" :D

And why aren't you using this MUI variable ??
Trigger:
  • Set Wand_unit[Numb] = (Target unit of ability being cast)


Not sure that (Target unit of ability being cast) will work after waits :S Will test that theory now ;)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top