25 lines
676 B
Plaintext
25 lines
676 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: swt_walk_random
|
||
|
//:: swt_walk_random.nss
|
||
|
//:: Copyright (c) 2001 Bioware Corp.
|
||
|
//:://////////////////////////////////////////////
|
||
|
/*
|
||
|
|
||
|
*/
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Lysandius
|
||
|
//:: Created On: 28-06-2002
|
||
|
//:://////////////////////////////////////////////
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oSittable = GetNearestObjectByTag("Sittable");
|
||
|
SetLocalObject(OBJECT_SELF,"oMychair",oSittable);
|
||
|
|
||
|
ActionMoveToLocation(GetLocation(oSittable)); // a1 No: go to the nearest sittable.
|
||
|
|
||
|
SetLocalInt(OBJECT_SELF, "nSitting", 1);
|
||
|
ActionSit(oSittable);
|
||
|
}
|