• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[JASS] rupture problem

Status
Not open for further replies.
Level 6
Joined
Apr 14, 2007
Messages
109
i got the random dota skills map thing and it says theres something rong with rupture here is what it says is rong

local unit u = GetHandleUnit(t, "u")

i dont understand that can someone tell me what that means?

in regular triggering not in JASS plz
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
Well, I'll be explaining it in JASS, for the simple reason that... that IS JASS.

Also, 'regular triggering' happens to be JASS ><

In other news --

That's from the Local Handle Variables by KaTTaNa. The code for them was probably in the map's header. Try copying the code from the spell map's map header to yours.
 
  1. Open the variables editor
  2. Create a variable editor of type "gamecache" and name it something such as "cache"
  3. Then I think you do something such as this:
Code:
 if udg_cache == null then
        set udg_cache = InitGameCache("jasslocalvars.w3v")
    endif
    return udg_cache

I think that is what you are supposed to do. I'm not very fond of using KaTTaNa's handle vars, but I did use them many times before, but in JASSCraft... :wink:
 
Level 3
Joined
May 28, 2007
Messages
57
He tried to copy the trigger and Handels from the map to another map, so just do like PurplePoot said create the game cache and name it what it's named in Kattans Handel variables and if that does not work import the triggers to your map but don't forget to give credit to the trigger creator ;)
 
Status
Not open for further replies.
Top