hi
i have a problem as always

I just want to know if it is possible to have function arrays. Cause i want to call function from a spell list or better id. I send an id and the correct spell function is started.
Instead of
Heal(caster, cast_target, random_add);
i want something like
spell_id(caster, cast_target, random_add);
Is it possible in any way?