CMS HELP (RM2000) [RESOLVED]

Posts

Pages: 1
Okay, so I've got my CMS all set up and such. I go to run it, it works fine up until I try to exit the menu.

The hero is unable to move. I solved this by making the menu event parallel process instead of Auto Start, but then the hero is able to move while the menu is accessed which is not what I want.



http://img188.imageshack.us/img188/6295/42407152.png


^ The event that calls the menu


http://img188.imageshack.us/img188/1573/menuw.png


^The first part of the actual menu event


http://img188.imageshack.us/img188/7360/menu2q.png


^The end of the menu event.
At the end of it you're jumping to Label 1, which is at the top of your menu (except after it shows the pictures so if they are removed it won't reshow the pictures)

Generally what you want for this is an Auto-Start event with a switch trigger. Then structure your event like:


Do initial stuff here, like showing pictures
LOOP
Meat and bones of menu like getting player input, processing input, logic, ect.
Condition: If the player is done (their input was cancel), break loop
END LOOP
Wrap menu up, stuff like removing pictures and turning off the trigger switch

or if the script really works as it should so far, you could simply put an "end event processing" under the cancel menu branch.
author=GreatRedSpirit link=topic=3842.msg76734#msg76734 date=1243276934
At the end of it you're jumping to Label 1, which is at the top of your menu (except after it shows the pictures so if they are removed it won't reshow the pictures)

Generally what you want for this is an Auto-Start event with a switch trigger. Then structure your event like:


Do initial stuff here, like showing pictures
LOOP
Meat and bones of menu like getting player input, processing input, logic, ect.
Condition: If the player is done (their input was cancel), break loop
END LOOP
Wrap menu up, stuff like removing pictures and turning off the trigger switch



Sweet, thanks! I now have an understanding of how the loop/cycle thing works. Awesome...thank you so much.
Pages: 1