dean1012
04-03-2008, 02:37 AM
Hello,
I have extensive programming knowledge, and am an academic Computer Science student. I have decided to take up RPG Maker II for fun and have decided to learn it as I do programming languages - by doing things one piece at a time as small prototypes.
I have a small building created. no NPCs or anything.
It has a candle on the back wall. It is unlit.
When you walk up to it and examine it, it tells you it is unlit and asks if you want to light it.
If you say yes, it says the candle is now lit, sets a flag, and does:
Script Control: Apply Together
Effect: Double Flames Event
Data: Flag: Flag261 On
Script Control: Force Script End
This works great.
When you examine it again, it reads that the flag is set, tells you it is lit, and asks if you want to blow it out.
If you say yes, it should stop the Double Flames event. However, it does not.
This is where i'm stuck.
My candle event is the same as the default one except the following options:
Name: Candleunlit
Motion: -None-
Start: Examine
Apply: CandleA
CandleA is a content script.
Instead of stopping the Double Flames event, it seems to do things with the actual candle model. I can get it to hide the candle, for example. But, the flames still exist even with a hidden candle.
Have I done this whole process wrong? Or is there a command I'm missing to stop the Double Flames event?
I have extensive programming knowledge, and am an academic Computer Science student. I have decided to take up RPG Maker II for fun and have decided to learn it as I do programming languages - by doing things one piece at a time as small prototypes.
I have a small building created. no NPCs or anything.
It has a candle on the back wall. It is unlit.
When you walk up to it and examine it, it tells you it is unlit and asks if you want to light it.
If you say yes, it says the candle is now lit, sets a flag, and does:
Script Control: Apply Together
Effect: Double Flames Event
Data: Flag: Flag261 On
Script Control: Force Script End
This works great.
When you examine it again, it reads that the flag is set, tells you it is lit, and asks if you want to blow it out.
If you say yes, it should stop the Double Flames event. However, it does not.
This is where i'm stuck.
My candle event is the same as the default one except the following options:
Name: Candleunlit
Motion: -None-
Start: Examine
Apply: CandleA
CandleA is a content script.
Instead of stopping the Double Flames event, it seems to do things with the actual candle model. I can get it to hide the candle, for example. But, the flames still exist even with a hidden candle.
Have I done this whole process wrong? Or is there a command I'm missing to stop the Double Flames event?