Hello again! I am having some serious trouble with scripting a player character to do what I want it to do. Does anyone know the best way using AGS to run and change views and animations really fast. The problem I am having is my character is doing things completely out of sequence. For instance my character is sitting in a trashcan right now. His view is changed while on a walkable area to simulate him swimming through it. I have made an animation for him to climb out the problem is when I try to do everything I want it to do it does things completely out of order and even skips some commands. I was reading about character variables but don't understand the correct way to plug them into my game or if I even need to use them in a situation like this. If anyone has any ideas please let me know thanks.
Daniel
Winebarger
Putting commands in the right order?
SetCharacterView(...)
AnimateCharacterEx(...) or a MoveCharacterBlocking(...)
SetCharacterView(...)
AnimateCharacterEx(...)
SetCharacterView(...)
AnimateCharacterEx(...)
To get the animations run. AnimateCharacterEx can be set to be blocking. See the manual. If you have something scripted allready, post it so we can tell you what do you need to change...
Yeah, when it comes to character animations and timing you need to figure out what functions block and which ones dont... Also, learn to use the wait command (or waitkey/waitmousekey) to spread things out...