Search results

  1. H

    Bounce math

    im having trouble with the maths behind bouncing projectiles. my code so far: function Data_bounce takes integer this returns nothing local real a = RAbsBJ(udg_angle[this]*bj_RADTODEG) if 2*a< 90 or 2*(180-a) < 90 then set a = udg_angle[this] if a> 0 then...
  2. H

    boomerang maths

    hi im after the maths behind a typical smooth 'boomerang' curve (not sure what the correct terminology is) in projectiles, or otherwise example of spells that uses this. if not, a sketch will do (anything will be appreciated really... ) the standard approach to homing projectile that target a...
  3. H

    interface queries

    i have a few questions regarding the inner workings of 'method interfaces' when converted to jass. original vjass interface i method onApply takes unit u returns nothing endinterface struct Data extends i method onApply takes unit u returns nothing call UnitAddAbility(u...
  4. H

    convert vJass to Jass

    i read this and this and i was just wondering if there is a way to convert vjass to jass inside of newgen, not like the complicated way (at least for me :P) in the 2 threads and also the 'missing arguments:<commonj><blizzardj><mappath>' error i get when i click jasshelper/. ?? i tried typing...
  5. H

    queued order

    Solved im making a system (for myself) very similar to OrderQueue, which basically allows the use of 'shift' order with triggers. however, in my system, im attempting to store every order every unit is given, whether through triggers, human command, etc. ordering a unit with triggers interrupt...
  6. H

    Vanilla Jass Compilation

    SOLVED in what order are the triggers compiled. is it random, or a particular order. its because usually when you do this function one takes nothing endfunction //new trigger function two takes nothing call one() endfunction it sometimes gives you error when these two functions are placed in...
  7. H

    List of 'Slow' function

    SOLVED hi, just looking for a list of functions that are generally slow in terms of execution time. im looking to spam these functions so that it is slow enough to be beaten by a TriggerExecute() or (if possible) a 0.0 timeout. basically want to control the order each events occur. my other...
  8. H

    struct allocator queries

    i was looking through the jass conversion of a vjass code and i found a few questions/ in of further elaboration function s__MeatHook___Data__allocate takes nothing returns integer local integer this=si__MeatHook___Data_F if (this!=0) then set...
  9. H

    MoveLocation

    what does MoveLocation do? how does it differ from set x = Location(x,y) do i still need to destroy before moving?? ty:)
  10. H

    base ability

    looking for base abilities with - minimum casting range (e.g blink) - target point thanks
  11. H

    Buff Struct

    //! runtextmacro BuffType("Cleanse") //! runtextmacro SetBuffName("Cleanse") //! runtextmacro SetBuffAlignment("POSITIVE") //! runtextmacro SetBuffTooltip("This unit is has Cleanse; it regains the mana used to cast the next non-ultimate spell.") //! runtextmacro...
  12. H

    Tesh

    any way to configure styles of highlighting custom syntax? ie change the default skyblue/underline to the style of a native? EDIT: how to change the styles in the function list =D, i think i only found font...
  13. H

    GUI syntax error

    SOLVED Shape Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Channel Actions Custom script: set udg_xCentre = GetUnitX(GetTriggerUnit()) Custom script: set udg_yCentre = GetUnitY(GetTriggerUnit())...
  14. H

    base ability

    hi any base ability that: - can turn on/off like defend - starts cooldown AFTER turning off - and if possible non-interrupting spell thankyou
  15. H

    Damage (by jesus4lyf)

    how can you convert Damage_GetType() to string for debug? is it possible? and how can you determine its a normal attack damage not spell
  16. H

    triggered heal

    ok so i was testing out healing damage dealt on attack with two triggers: 1) using Weep's GUI Damage Detection System 2) creating temporary trigger on spell effect and later to be disabled/destroyed when spell effect ends i used 2 bjdebug and found that weep's system was 'faster' than the...
  17. H

    Hashtable Array

    any ideas on how to store arrays into hashtable? i got confused when it asked for index..eg local timer t = CreateTimer() loop exitwhen i == 5 set udg_Wisp[i] = CreateUnit() call SaveUnit(Hashtable, 0, GetHandleId(t), udg_Wisp[i]) set i = i + 1...
  18. H

    Invalid arg type (real)

    //globals // array unit udg_F__U // array integer udg_F__T // array real udg_F__D // array real udg_F__A = 255. // integer udg_Total // timer udg_Timer //endglobals function fading takes nothing returns nothing local integer i = 0 local unit get local integer ticks local...
  19. H

    Hashtable Timer System

    http://www.thehelper.net/forums/showpost.php?p=1189499&postcount=10 based on Weep's > wrapper for a hashtable or something:confused: ? i tried this out with: function time takes nothing returns nothing local integer i = GetTimerData(GetExpiredTimer()) call BJDebugMsg(I2S(i))...
  20. H

    Disable Ability Orb of Slow

    Player - Disable <ability> for (Owner of (Triggering unit)) does that disable the effect and ability to use it as well? but more than that.. ive been playing around with Orb of Slow & its Effect Ability>>is there anyway to hide the 'effect ability' - ive tried spellbooks and how do you inline...
Top