QiTAhXOs--g
pressing shift starts the state roaming.
first map: I encounter a bug
second map I encounter a few bugs
it continues on. tell me what you think haha. this made me giggle a bit.
on the note of the code I don't know why It's not auto turning to the current destination. If anyone wants to delve into that.
related to this:
Code: Select all
Moving:
Enable('HitWall');
MoveTo(Destination, WalkingSpeed);
Pausing:
if ( Level.Game.bTeamGame && (bLeading || ((Orders == 'Follow'))) )
GotoState('Roaming');
Acceleration = vect(0,0,0);
if ( NearWall(200) )
{
PlayTurning();
TurnTo(Focus);
}
Enable('AnimEnd');
NextAnim = '';
TweenToPatrolStop(0.2);
Sleep(1.0);
Disable('AnimEnd');
FinishAnim();
GotoState('Roaming');
ContinueWander:
FinishAnim();
PlayWalking();
if (FRand() < 0.2)
Goto('Turn');
Goto('Wander');
Turn:
Acceleration = vect(0,0,0);
TurnTo(Location + 20 * VRand());
Goto('Pausing');