Hi
My problem is as follows I want a chicken to walk around at random in the background of a room. It walks a short distance then decides to change direction etc. Imagine the dog in 'Beneath a Steel Sky' if you have played it.
I have all the walking animations for the chicken there is just the four directions Up, Down, Left and Right.
I have experimented by putting this just to get started off:
function room_RepExec()
{
cChicken1.Walk(129, 177, eNoBlock); // from its starting position of 69, 177
}
But this just makes the chicken walk on the spot. The chicken only walks when an interaction event is called in the room.
I am a bit flummoxed with this scripting task so any ideas would be very gratefully received.
My problem is as follows I want a chicken to walk around at random in the background of a room. It walks a short distance then decides to change direction etc. Imagine the dog in 'Beneath a Steel Sky' if you have played it.
I have all the walking animations for the chicken there is just the four directions Up, Down, Left and Right.
I have experimented by putting this just to get started off:
function room_RepExec()
{
cChicken1.Walk(129, 177, eNoBlock); // from its starting position of 69, 177
}
But this just makes the chicken walk on the spot. The chicken only walks when an interaction event is called in the room.
I am a bit flummoxed with this scripting task so any ideas would be very gratefully received.