Users browsing this thread: 1 Guest(s)
Help with scripting

#1
Posts: 13
Threads: 6
Thanks Received: 0
Thanks Given: 0
Joined: Aug 2011
Reputation: 0
Status
None
hello everyone i have several things i need help on im trying to learn how to hack (self teaching sucks) anyways the first things i need to know is how do to waves like the script when you delete it always has ends first wave and end i need to know a couple things when it says end what does it mean like when it reaches end it will start the whole cycle over again (say it only has meteor ends turn ultima ends turn attack ends turn end of first wave end when it reaches in will it star back at meteor and the whole cycle over again until it dies or your characters die) and how do i make more waves i have my monster set at 1st attack and i have it use meteor as first attack (0x13) then it says end first wave now how do i make more waves after that im planning on making it do flare flare flare end second wave how do i program in end second wave, third wave ect. another thing is when i program it to attack a specific character do i put that in then put the attack under ir or above it like this
(terra (all allies if N/A)
<MB>Meteor
or
<MB>Meteor
terra (all allies if N/A)
right now that is all i can think of when i need help with other things ill post it here and try your best to help me
Quote  

#2
Posts: 3,970
Threads: 279
Thanks Received: 236
Thanks Given: 58
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
End of the first wave means the script will restart from the beginning I believe. You can change the behaviour of your monster by setting conditions before the "end of first wave" so they will be in the script or after and they could act as counterattacks. You can make conditions such as :

If monster has less than X HP cast spell Y (whatever it is)
or
If variable X is greater/lower than number Y do something else
or
If bit X of variable Y is set/clear then cast a spell or attack or do special attack.
or
If monster is attacked by spell/attack X cast spell Y

Those are only 4 of the many examples. I'm not posting the actual commands because I don't know them by heart and I always forget them lol

For what you want to do you could set "add 1 to variable #2" in your main script and put the condition before "If variable #2 is greater or equal to 1 cast flare". The first turn variable #2 will be at 0 (when the condition is going to be meet) and the second turn it will be at 1 so the second turn and all the subsequent turns your monster will cast flare.

The best way to learn is by checking some script in the games to see what kind of scripts there is and one of the best document about monster script is this one: Final Fantasy VI monster command scripts guide

This document is also handy:FF3 Monster Command Script Tutorial .

Everything is there and with a bit of practice you'll soon be able to do nice scripts. There a people way better than me for monster scripts and I'm not a reference but It's by experimenting with the commands in those documents that I learned.
  Find
Quote  



Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite