Not logged inOpenClonk Forum
Up Topic [Cleanup] Global Functions

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Günther
I just used Find_Func() when I had to search for an object with a specific second actiontarget (for the pump-the-lava-away tutorial in CR). I could have modified the engine, but I didn't want to find a line with the specific object at any end, but only a line with the object at the right end. I could have added Find_ActionTarget2, but I didn't think it was generally useful enough.

But if our lines become bidirectional, always looking for both action targets would make more sense. Want to make a patch? I'd guess it would be only one or two lines in src/game/script/C4FindObject.cpp.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill