• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
April 18, 2024, 03:45:05 pm

News:

Please use .png instead of .bmp when uploading unfinished sprites to the forum!


WalkTo

Started by Jenpob, July 31, 2015, 02:44:28 am

Jenpob

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?

Xifanie

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.
  • Modding version: PSX
Love what you're seeing? https://supportus.ffhacktics.com/ 💜 it's really appreciated

Anything is possible as long as it is within the hardware's limits. (ie. disc space, RAM, Video RAM, processor, etc.)
<R999> My target market is not FFT mod players
<Raijinili> remember that? it was awful

Jenpob

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()







Xifanie

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.
  • Modding version: PSX
Love what you're seeing? https://supportus.ffhacktics.com/ 💜 it's really appreciated

Anything is possible as long as it is within the hardware's limits. (ie. disc space, RAM, Video RAM, processor, etc.)
<R999> My target market is not FFT mod players
<Raijinili> remember that? it was awful

Jenpob

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  :)