var/i = lt.Insert("punch forward","kick reverse","punch reverse")
if(lt.Find(i))src<<"hoo"
My goal with this is, that punch forward, kick reverse and punch reverse have to be called after each other, but that it doesn't really matter in what possition it is in the list.
My question is, is that code good for my goal?
If not, could someone please give me it, or give me pointers?
Thank you for your time,
Rick
If you're trying to call things based on their text names, look up the call() proc in the DM Reference (F1 in DM). If you want a list of things to call, and you want to call everything in the list, loop through it and use call() in each iteration. Example: