Initial upload
Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
This commit is contained in:
24
_module/nss/swt_walk_random.nss
Normal file
24
_module/nss/swt_walk_random.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: 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);
|
||||
}
|
||||
Reference in New Issue
Block a user