HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger functions

01-23-2004, 12:49 AM#1
Cthulhu
HI,

I need help, I am trying to trigger a function using a custom script. The function I want to trigger is called target, i need to know the syntax for writing it using my function, ie:

call target... or whatever it is, any help would be greatly appreciated!
01-23-2004, 02:06 AM#2
DaKaN
Its:

call FunctionName(parameters)

so if you have:

function MyCrap takes integer i, unit u and returns nothing
<InsertCodeHere>
endfunction


to call it, it would be:

call MyCrap(Integer,Unit)