Notice: fwrite(): Write of 44 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96

Notice: fwrite(): Write of 8192 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96
[RESOLVED] Repeating events...
Main Menu
  • Welcome to The RPG Maker Resource Kit.

[RESOLVED] Repeating events...

Started by Mushroom Panda, March 17, 2007, 03:13:21 PM

0 Members and 1 Guest are viewing this topic.

Mushroom Panda

I have a demon in a cutscene that is supposed to walk four steps up, and then stop. Instead, it moves up and up until it hits the wall. I have "Repeat Actions" off.

What could be causing this. It's movements are caused by an event set to "auto-start"



edit: Thanks for all of your help!

:)

use "Wait until moves completion"
Watch out for: HaloOfTheSun

Snailer

Also use a switch at the end just to make sure it wont move more

Mushroom Panda

I've used "Wait for moves compeletion" with no luck... I'll try the switch in a sec

:)

switch will work then, I should have asked if you have anything going on after the movement?
Watch out for: HaloOfTheSun

Amalgamadora

I use switches, or if it is a long event I create one variable and just change its value with each new page that way I'm not overloaded with switches.
Refrain from calculating your juvenile poultry prior to the incubation process's execution.

YachiYan

Auto Start loops over and over again no matter what you do. The only way to end the loop is to use a switch to turn the event off. I could just redirect you to a switch tutorial, but hey, I've got time.

After your character move script, double-click and create a new script--first page, right hand side called "Switch Operation". Pick any switch number at random--just keep in mind you should only use each one once to avoid confusion. Let's pretend you use switch 0001 (name it whatever you want). Click on that switch, and click OK. Make sure you have the switch set to "ON" and not "OFF".

In your event page (the auto-start one, obviously) create a new page. In this page (make sure it's set to Action Key and not Auto Start), to the left, under Preconditions, check off the first "Switch" opetion. Click on the arrow beside it to choose your switch. It should automatically highlight the switch you just made on the previous page (0001). Just click okay.

Now, when the demon stops moving, the switch will cause the event to move to the new page you just created and the event will stop looping. If you want to do more than just move the demon forward, I suggest putting it all on the first page before you use the switch to turn the event off.

That's it. That was fun. Well, happy St. Patty's day. *wanders off*

Charlie was a scientist, but Charlie is no more.
For Charlie thought that H20 was H2S04.

Mushroom Panda

Haha! A switch tutorial... I don't need a switch tutorial, but you answered my question about the auto-start... I'll just turn it off.

* changes topic title to [RESOLVED] *