Not logged inOpenClonk Forum
Up Topic Development / Developer's Corner / Function pointers
1 2 Previous Next
Parent - - By Marky [de] Date 2017-06-22 21:25
So what would it behave like most likely? I expect that:
#include X
#appendto Y


appends everything in X to the last thing in the function inheritance chain in Y, but it is possible that, because of the order in which objects/scripts are loaded, it could be actually somewhere in the middle of the chain.
Parent - - By Luchs [de] Date 2017-06-22 21:41
Yeah, that's why the warning is there. The actual order is first all includes (including those from appendtos), then the normal script, then all appendtos. So with your script, you'll prepend X to Y.
Parent - By Marky [de] Date 2017-06-22 21:45
Great, that's even more in line with what I want to do.
Up Topic Development / Developer's Corner / Function pointers
1 2 Previous Next

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill