The RPG Maker Resource Kit

RMRK RPG Maker Creation => XP => XP Tutorials => Topic started by: Razma on January 15, 2013, 09:15:43 PM

Title: [XP] Primordial Move Command, for tactical game.
Post by: Razma on January 15, 2013, 09:15:43 PM
Yay, so I made it as concise as possible. It's obviously not final, but this is a fairly useable move command.

I'm sorry if this is hard to read, not sure how to make the images zoom out. You'll have to zoom out your own screen.

The common event looks like this:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi1118.photobucket.com%2Falbums%2Fk609%2Fgdane1989%2FPrimordial%2520Move%2520System%2FConcise_zpsff7f7c4b.png&hash=20e1d541caf722c648de1511e67bdcdfbbb747ba)

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi1118.photobucket.com%2Falbums%2Fk609%2Fgdane1989%2FPrimordial%2520Move%2520System%2FConcise2_zps0f20e063.png&hash=0d8090cb61b3362eb372e091ab9dcf1e95d2addd)

The map event only needs two pages. You can copy paste this as much as you like, and they won't interfere with each other.

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi1118.photobucket.com%2Falbums%2Fk609%2Fgdane1989%2FPrimordial%2520Move%2520System%2FPage1_zpsaac294f3.png&hash=77f60f0d2d277fc3c80de8097aee60f25ad7820e)

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi1118.photobucket.com%2Falbums%2Fk609%2Fgdane1989%2FPrimordial%2520Move%2520System%2FPage2_zps88ea2e30.png&hash=1333fafd22b87db72a1c041631e42aef3eca0d6b)

It's got flaws galore. Hence, the label 'Primordial.' I got around not having local variables, by having only one event use the variables at a time. However, when I figure out local variables, (Thanks LoganF) The map event should only need to be one page, copy paste.

Believe it or not it took me forever to get it this concise.
Title: Re: Primordial Move Command, for tactical game.
Post by: Razma on January 16, 2013, 05:12:43 AM
Actually, I just realized that I don't need 2 pages in my map event. Just the first page as a parallel process witht he commonevent:Movable. It works, I have no idea why.

Apparently event if all the events say that Thiseventxy=Moverxy

It makes no difference? That is, the conditional branches clearly state that the players xy must equal the Variables Moverx,y

So if their all changing the variables value at once, how can the dang conditional branches for each individual event still work???

For example, If i do it like this, one event overrides all the others! I dont get it!

Is it because of the else handlers? Does this mean that the a variable can have more then one state at once...but in the case of an else handler, one takes priority?

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi1118.photobucket.com%2Falbums%2Fk609%2Fgdane1989%2FLocalVariableTst_zps19835e64.png&hash=e8f163b36135c28531b43b178109cb18ddc537e9)