Recent content by DK's Pride

  1. DK's Pride

    Global Variables

    I have NewGen (:
  2. DK's Pride

    Global Variables

    globals unit CasterHS = GetTriggerUnit() //I get this so i can refer to this unit in my other trigger location LocHS = GetUnitLoc(CasterHS) //I get this so i can use this location in my periodic trigger. real angleHS = GetUnitFacing(CasterHS) //I get this so i know the...
  3. DK's Pride

    ! Global Variable

    How can i tell wc3 that its a global variable, and cant be found in this trigger, but in another one? :confused: Cause it cant find them, if i just write the name of the global variable.:(
  4. DK's Pride

    what is Source?

    local real x = GetLocationX(source) + dist * Cos(angle * bj_DEGTORAD) What exactly is the (source) part of that trigger? Does it mean my first location, that i want to make a polar offset from? im not quite sure :P
  5. DK's Pride

    Global Variables and a couple other questions

    i never acces the loop with the function? :S Explain plz, im newbie
  6. DK's Pride

    Global Variables and a couple other questions

    lol :D how could i forget hmm, how could i then add the increased movement per loop?
  7. DK's Pride

    Global Variables and a couple other questions

    theese 2 places it gets syntax error UnitAddAbility(U,'Amrf' ) SetUnitPositionLoc(U,Loc+x * counter) here it dosent though, so it cant be the U variable i guess SetUnitAnimation(U,"Attack Slam") SetUnitFlyHeight(U,4 * h * x * (d - x) / (d * d),0)
  8. DK's Pride

    Global Variables and a couple other questions

    I get a syntax error everywhere i use unit U = GetTriggerUnit() do u know why? ;p
  9. DK's Pride

    Global Variables and a couple other questions

    function Trig_Ban_Kai_Conditions takes nothing returns boolean if ( not ( GetSpellAbilityId() == 'AA10' ) ) then return false endif return true endfunction globals set unit U = (GetTriggerUnit) //it says "Undeclared variable GetTrigger Unit on this one. . . Why? set...
  10. DK's Pride

    Interest Ability

    Add variables for each player to make it MPI - - - - Multi Player Instance (I dont think its important that u have it MUI as u only have 1 of each Hero)
  11. DK's Pride

    Nova spells

    nova123 Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Avatar Actions For each (Integer A) from 1 to 8, do (Actions) Loop - Actions Unit - Create 1 Footman for (Owner of...
  12. DK's Pride

    Item that frees unit from all buffs including stun.

    Some spells can be used even while ur stunned ;P an example could be (if u know dota) morphlings morph ability.. then u should use that and create a dummy casting purge on you which removes everything including stun. I do though not know what morph is based on Edit: oh shit :S it says item...
  13. DK's Pride

    Nova spells

    Ever heard of "For each integer A do action? ;P"
  14. DK's Pride

    Aura of Storm

    check when a unit gets the buff of ur aura, then do a random integer from 0-100 and if its equal to or less than 25 do the stuff u wanna do
  15. DK's Pride

    Trigger problem for new editor

    oh i understand it now :P u cant do it like that... it will effect other summonings and it when the effect wears off or the unit gets purged the ability dispelled or overridden by another cripple ability it dont work anymore I would create a unit for each level then make a If Level of Ability...
Top