Final Fantasy Hacktics

Modding => Event Editing => Topic started by: Jenpob on July 31, 2015, 02:44:28 am

Title: WalkTo
Post by: Jenpob on July 31, 2015, 02:44:28 am
Umm... First question about event editing...
I can't seem to do it right.Am I understand something wrong?
Quite confuse about "Walk Unit to a chosen square"
Example I do something as

WalkTo(x21,x00,001,006,x00,x00,+008,x01)

I mean what I understand is target Unit id walk to x=1 y=6 of the map ,right?
Sometime It just not move at all,am I do something wrong?
Title: Re: WalkTo
Post by: Xifanie on July 31, 2015, 03:25:06 am
Well, a lot could be going wrong. You could try helping us help you by mentioning which map you are using and show us a screenshot of that unit's ENTD entry with Unit ID 21.
Title: Re: WalkTo
Post by: Jenpob on July 31, 2015, 07:17:48 am
I went back and check, must be something about Always Present and Randomly Present I set wrong early.
Anyway It's "Slums in Dorter" map, first time at Dorter City, Wiegraf and that Fencer.
I attempt to add Wiegraf in this battle, so in real I set him id 20.
After Ramza last sentence, Wiegraf don't move like event skip also the last message I edited. I'm sure it could be wrong some way but I have no ideal to fix it myself.

...
DisplayMessage(x10,x12,x000E,x01,x00,x00,+00000,+00000,+00000,x01)
WaitForInstruction(x01,x00)
ChangeDialog(x01,xFFFF,x00,x00)
Wait(00008)
DisplayMessage(x10,x12,x000F,x20,x00,x00,+00000,+00000,+00000,x01)
WaitForInstruction(x01,x00)
ChangeDialog(x01,xFFFF,x00,x00)
Wait(00008)
WalkTo(x20,x00,001,006,x00,x00,+008,x01)
Draw(x20,x00)
Wait(00020)
{60}(r003C)
Wait(00090)
{1C}(r02)
{1D}()
Camera(+00264,-00061,+01032,+00430,+02624,+00000,+03488,+00064)
Camera(+00472,-00061,+00840,+00430,+03488,+00000,+03872,+00064)
Camera(+00392,-00028,+01064,+00302,+03584,+00000,+04096,+00064)
{1E}()
Music(x01,+127,002)
Wait(00002)
DarkScreen(x00,x01,012,064,x00,004)
WaitForInstruction(x36,x00)
DisplayConditions(x08,060)
WaitForInstruction(x38,x00)
WaitForInstruction(x04,x00)
Camera(+00392,-00028,+01064,+00302,+03584,+00000,+04096,+00001)
WaitForInstruction(x04,x00)
DisplayConditions(x00,060)
WaitForInstruction(x38,x00)
RemoveDarkScreen()
WaitForInstruction(x36,x00)
{1C}(r01)
March(x00,x00,008)
Wait(00020)
EventEnd()


(http://i1323.photobucket.com/albums/u594/Heretic08/FFT/1_zpsa8utkkja.png) (http://s1323.photobucket.com/user/Heretic08/media/FFT/1_zpsa8utkkja.png.html)

(http://i1323.photobucket.com/albums/u594/Heretic08/FFT/2_zpskz7wnkyx.png) (http://s1323.photobucket.com/user/Heretic08/media/FFT/2_zpskz7wnkyx.png.html)

(http://i1323.photobucket.com/albums/u594/Heretic08/FFT/3_zpsm6ul1e0l.png) (http://s1323.photobucket.com/user/Heretic08/media/FFT/3_zpsm6ul1e0l.png.html)
Title: Re: WalkTo
Post by: Xifanie on July 31, 2015, 08:05:53 am
You edited the text and you're not providing that text? Usually text not displayed means one of your lines is too long.

Also, the unit is totally there, it's just that you seem to have some previous SpriteMove going on here.
This should reset Wiegraf back onto his tile:
SpriteMove(x20,x00,+00000,+00000,+00000,x00,x00,+00000)

And I really recommend that you upgrade with the new config.ini after you're done with this event. You're missing out of a LOT of instructions that had a name figured out and structure discovered.
Title: Re: WalkTo
Post by: Jenpob on July 31, 2015, 10:13:53 am
One problem solve about message too long.
I have already read it but message is a little long -_-
Well I'm still have no time to fix WalkTo as your advice, later.
Thanks by the way  :)