28 lines
914 B
Plaintext
28 lines
914 B
Plaintext
#include "NW_O2_CONINCLUDE"
|
|
#include "NW_I0_GENERIC"
|
|
#include "x0_i0_anims"
|
|
#include "x0_i0_walkway"
|
|
void main()
|
|
{
|
|
SetListeningPatterns();
|
|
WalkWayPoints();
|
|
int nRandom = d6(1);
|
|
if (GetTag(OBJECT_SELF) == "BRONNOR")
|
|
{
|
|
if (nRandom == 1){
|
|
AssignCommand(OBJECT_SELF, JumpToObject(GetWaypointByTag("BRONNOR_WP_01")));}
|
|
else if (nRandom == 2){
|
|
AssignCommand(OBJECT_SELF, JumpToObject(GetWaypointByTag("BRONNOR_WP_02")));}
|
|
else if (nRandom == 3){
|
|
AssignCommand(OBJECT_SELF, JumpToObject(GetWaypointByTag("BRONNOR_WP_03")));}
|
|
else if (nRandom == 4){
|
|
AssignCommand(OBJECT_SELF, JumpToObject(GetWaypointByTag("BRONNOR_WP_03")));}
|
|
else if (nRandom == 5){
|
|
AssignCommand(OBJECT_SELF, JumpToObject(GetWaypointByTag("BRONNOR_WP_02")));}
|
|
else if (nRandom == 6){
|
|
AssignCommand(OBJECT_SELF, JumpToObject(GetWaypointByTag("BRONNOR_WP_01")));}
|
|
}
|
|
else
|
|
{
|
|
}}
|