shuius
RPG Maker-in-Training
Posts: 6
|
Post by shuius on Nov 20, 2006 16:25:18 GMT -5
I have two questions for anyone who can help:
First, I finished making my opening scene(well, sort of) and I had several difficulties. I had to make everything an action script and time it all in order to get it to do what I wanted(not really a question yet, just a complaint). I placed an event over the location that my character starts on the map so that the player doesn't have control over him. I also made him invisible so that you could just watch the scene play out. (I had to do this because you don't actually start playing the game until the scene is finished and my party leader is not in the scene at first). Anyway, on to my questions. at the end of one of the action scripts, which is a character, I put a Flag on command. I then made a script(action script also) and made it an event with the condition that the afore mentionded flag is on. I also made it automatically start. Why does it not work. It is simple: Data:Flag:(opening scene) ON (any command next, none will work)
My second question is this: If after the above command: "Data:Flag:(opening scene) ON", I want to automatically change maps, is that possible?
Sorry is this is too confusing. I would appreciate any help. Thanks.
|
|
|
Post by Doan the Nado on Nov 20, 2006 20:13:49 GMT -5
This is because event flags are not rechecked until a Content Script is run. This means that if you change a flag in an action script, the event will not "notice". If your opening scene starts straight from the beginning and requires no player input, the typical way to do it is to make a content script which is called from your Enter Map script. The default one is "To Map / Facing", but this can be modified in the World Organization area.
If you don't feel like changing a whole lot, you can simply call the action script that you are trying to run from the bottom of your cutscene scripts. This avoids the need to turn on the flag in order for this to happen.
I think some info that may help you is to check out Event > Control Change (or something like that). This means that from one script, you can begin controlling any other event and make it do whatever you want. Perhaps this is why you were using action scripts? Also, note that there is a Flag (a low numbered one) called No Movement. If this flag is on, the player will be unable to move. This is a much easier way to disable movement than to worry about placing the player inside of an event.
I hope those tips help you a little bit. Good luck!
|
|
shuius
RPG Maker-in-Training
Posts: 6
|
Post by shuius on Nov 20, 2006 21:16:29 GMT -5
Thank you very much. That deffinately helps.
|
|