Spellpack Arthas the Death Knight

Sim

Forum Administrator
Staff member
Reaction score
534
Also worth mentioning that you can bump your spell submissions every 24h like any other topic, but there is no reason to do so once it gets approved.

:rolleyes:

In the spells forum you don't bump.
 
T

tylaa

Guest
Wow, very nice spells! Frost spiral was my favorite... Graveyard comes in second, but the other two were ok.
 
T

TheQuiet

Guest
Im having trouble. I cant seem to get this into my map. I followed his directions exactly, and Im getting tons of errors that end up disabling my trigger. Help :(
 
T

TheQuiet

Guest
It probably requires NewGen WE (there's a thread in the JASS Help zone which has a download link)
Yes I have that. But Im still getting errors. Theyre errors within the spell.
 
1

131ackout

Guest
Nice, Graveyard was instense..

By the way, type the tooltips in the spoiler here. I don't like seeing the tooltips in screenshot, but I can help you with english. :p

(invites Reppy, then Reppy says hello and +rep) :p

EDIT: How'd you put the text in top middle?
 
T

TheQuiet

Guest
omfg.. Im using NewGen, I just decided to use WE. It doesnt matter because both programs have the same error.
 

trb92

Throwing science at the wall to see what sticks
Reaction score
142
The error is on the line "GetHandleUnit(arguments)". Did you cope the custom script code section that is in the demo map?
 

trb92

Throwing science at the wall to see what sticks
Reaction score
142
JASS:
//########################################################################################
//##                                  Handle Variables                                //##
//##                                     By KaTTaNa                                   //##
//##      Requires the Global Game Cache Variable "HandleVars" (udg_HandleVars)       //##
//########################################################################################

function HV_H2I takes handle h returns integer
    return h
    return 0
endfunction

function LocalVars takes nothing returns gamecache
    if udg_HandleVars == null then
        call FlushGameCache (udg_HandleVars)
        set udg_HandleVars = InitGameCache ("jasslocalvars")
    endif
    return udg_HandleVars
endfunction

function SetHandleHandle takes handle subject, string name, handle value returns nothing
    if value == null            then
        call FlushStoredInteger (LocalVars(),I2S(HV_H2I(subject)),name)
    else
        call StoreInteger       (LocalVars(),I2S(HV_H2I(subject)),name,HV_H2I(value))
    endif
endfunction

function SetHandleInt takes handle subject, string name, integer value returns nothing
    if value == null or value == 0 then
        call FlushStoredInteger (LocalVars(),I2S(HV_H2I(subject)),name)
    else
        call StoreInteger       (LocalVars(),I2S(HV_H2I(subject)),name,value)
    endif
endfunction

function SetHandleBoolean takes handle subject, string name, boolean value returns nothing
    if value == null or value == false then
        call FlushStoredBoolean (LocalVars(),I2S(HV_H2I(subject)),name)
    else
        call StoreBoolean       (LocalVars(),I2S(HV_H2I(subject)),name,value)
    endif
endfunction

function SetHandleReal takes handle subject, string name, real value returns nothing
    if value == null or value == 0.00 then
        call FlushStoredReal (LocalVars(),I2S(HV_H2I(subject)),name)
    else
        call StoreReal       (LocalVars(),I2S(HV_H2I(subject)),name,value)
    endif
endfunction

function SetHandleString takes handle subject, string name, string value returns nothing
    if value == null or value == "" then
        call FlushStoredString (LocalVars(),I2S(HV_H2I(subject)),name)
    else
        call StoreString       (LocalVars(),I2S(HV_H2I(subject)),name,value)
    endif
endfunction

function GetHandleHandle takes handle subject, string name returns handle
    return GetStoredInteger (LocalVars(),I2S(HV_H2I(subject)),name)
    return null
endfunction

function GetHandleInt takes handle subject, string name returns integer
    return GetStoredInteger (LocalVars(),I2S(HV_H2I(subject)),name)
endfunction

function GetHandleBoolean takes handle subject, string name returns boolean
    return GetStoredBoolean (LocalVars(),I2S(HV_H2I(subject)),name)
endfunction

function GetHandleReal takes handle subject, string name returns real
    return GetStoredReal (LocalVars(),I2S(HV_H2I(subject)),name)
endfunction

function GetHandleString takes handle subject, string name returns string
    return GetStoredString (LocalVars(),I2S(HV_H2I(subject)),name)
endfunction

function GetHandleUnit takes handle subject, string name returns unit
    return GetStoredInteger (LocalVars(),I2S(HV_H2I(subject)),name)
    return null
endfunction

function GetHandleTimer takes handle subject, string name returns timer
    return GetStoredInteger (LocalVars(),I2S(HV_H2I(subject)),name)
    return null
endfunction

function GetHandleTrigger takes handle subject, string name returns trigger
    return GetStoredInteger (LocalVars(),I2S(HV_H2I(subject)),name)
    return null
endfunction

function GetHandleEffect takes handle subject, string name returns effect
    return GetStoredInteger (LocalVars(),I2S(HV_H2I(subject)),name)
    return null
endfunction

function GetHandleGroup takes handle subject, string name returns group
    return GetStoredInteger (LocalVars(),I2S(HV_H2I(subject)),name)
    return null
endfunction

function GetHandleLightning takes handle subject, string name returns lightning
    return GetStoredInteger (LocalVars(),I2S(HV_H2I(subject)),name)
    return null
endfunction

function GetHandleWidget takes handle subject, string name returns widget
    return GetStoredInteger (LocalVars(),I2S(HV_H2I(subject)),name)
    return null
endfunction

function FlushHandleLocals takes handle subject returns nothing
    call FlushStoredMission (LocalVars(),I2S(HV_H2I(subject)))
endfunction

//##########################################################################################
Did you copy all of that out of the Map Icon at the top of the trigger editor? That seems to be your problem, you lack these functions.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top