Control Active Leaf???

#4
Hi, Hguols is correct. ‎  I have noticed that using some commands like CAL "control active leaf" can get confusing at times. And commands after just get ignored. If you choose to change the leaf of another event, your current event leaf should stay the same but I believe any commands after CAL will never get called whether a condition is met or not. There are other commands that also seem to work non-intuitively, back to back move object commands get weird. ‎  I have learned to experiment and check my work constantly, its too bad there isn't a command reference manual.

One thing to note and remember, if you call "Control Active Leaf" and you are changing the leaf of another event, the current event's leaf will not change but it will start executing your commands from the top the next time you activate it. ‎  The next trigger will not fall through and run any commands after the CAL but instead will re-run all the commands in the current leaf of the current event from the top.

Do you guys agree? This is my experience. I have used a series of IF statements and a counter to get a bunch of dialogue stuffed into an NPC. Just one leaf could hold dozens of display message commands, and choose a bunch at random. ‎  Like creating a weird prophet who always spouts out random riddles, just cut and paste some off the internet and then stuff them into a leaf. Oh yeah it helps not to use words like leaves, leave, left, ‎  when explaining how leafs work.
Cheers

KilroyFx
Reply



Messages In This Thread
Control Active Leaf??? - by HolyDiver - 2009-09-25, 03:09 AM
Re: Control Active Leaf??? - by dmpdesign - 2009-09-25, 04:40 AM
Re: Control Active Leaf??? - by Hguols - 2009-09-25, 04:52 AM
Re: Control Active Leaf??? - by kilroyfx - 2009-09-25, 05:53 AM
Re: Control Active Leaf??? - by HolyDiver - 2009-09-25, 02:13 PM
Re: Control Active Leaf??? - by Hguols - 2009-09-25, 07:17 PM
Re: Control Active Leaf??? - by dmpdesign - 2009-10-13, 03:17 AM
Re: Control Active Leaf??? - by HolyDiver - 2009-10-13, 06:21 AM
Re: Control Active Leaf??? - by dmpdesign - 2009-10-14, 12:14 AM
Re: Control Active Leaf??? - by HolyDiver - 2009-10-14, 03:26 AM



Users browsing this thread:
3 Guest(s)