View Single Post
Old 02-26-2020, 12:21 AM   #2
sai'ke
Human being with feelings
 
sai'ke's Avatar
 
Join Date: Aug 2009
Location: NL
Posts: 863
Default

I don't think there's a way to pass functions in jsfx. You could send a variable, and call a function in the inner loop which looks up and calls the function you actually want. But yeah, not pretty with lots of branching.

If possible, I would have expected a syntax without the ().
__________________
[Tracker Plugin: Thread|Github|Reapack] | [Routing Plugin: Thread|Reapack] | [Filther: Thread|Github|Reapack] | [More JSFX: Thread|Reapack]
sai'ke is offline   Reply With Quote