gui button moves character - not working [SOLVED]

Started by theswitch, Mon 01/08/2005 01:11:36

Previous topic - Next topic

theswitch

ok so I'm making this rpg attack battle system, yes ANOTHER one hehehe ;D, but its mine, mine I tell you :P

anyhow. . .

I have a gui showing player and baddie stats etc, there are two characters facing off agienst eachother, player and the bad guy with an image for each. Theres a button on the gui that starts the attack round called "attack", when I push the attack button the figure (character) that represents me the player moves towards the bad guy using the character.move command

the character doesn't move untill the whole script ends or when I make the gui visable false, but it still won't happen till the end (the character moving)

. . . .

wait a minute. . . (thinking)

. . . . .


I'm running through the script index agien and um. . . hmmmm whats this ???
character.walk

hmmmm

didn't see that before

hmmmm

let me see. . .

give me a sec. . .



. . . (working). . . . . .

interesting, there is an example under character.walk that goes like this

character[EGO].Walk(155, 122, eBlock);

hmmmm

I think I figured it out

I'll quot the example:

will make the character walk to 155,122. The script will not continue until the character has reached his destination.


. . . (trying it out now). . . . . .


HOLY SHAMALA IT WORKS

I can't belive I missed that, I could have sworn it wasn't there before

mabe there is somthing we the AGS community needs to know about the ominous internet update service that has been mischeviously programmed into ags

;D

SMF spam blocked by CleanTalk