• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Dynamic calls with parameters

Status
Not open for further replies.
Level 13
Joined
Mar 16, 2008
Messages
941
Ok, here's my problem:
I created a knockback system and it works very well, but I wanted to add a "dynamic" function to the onDestroy method (dunno if it's even called dynamic in this case).
I mean something like this:

JASS:
function a takes code b returns nothing
    local integer i = 5
    call b(i)
endfunction

function c takes nothing returns nothing
    call a(function b(i))
endfunction
I want to be able to call functions(with parameters) which are parameters.

Awww, I wish I could explain it in german xD I hope you understand it :)

Greets, Justify
 
Last edited:
Status
Not open for further replies.
Top