Initial upload
Initial upload.
This commit is contained in:
23
_module/nss/rp_pox_at3_lead.nss
Normal file
23
_module/nss/rp_pox_at3_lead.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Name
|
||||
//:: FileName
|
||||
//:: Copyright (c) 2001 Bioware Corp.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Force the ox to follow the owner at 10 feet.
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Rogers Pessin (Tigsen)
|
||||
//:: Created On: August 4, 2002
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
void main()
|
||||
{
|
||||
object oSpeaker = GetPCSpeaker();
|
||||
if (oSpeaker!=OBJECT_INVALID)
|
||||
{
|
||||
// Force the pack ox to follow the speaker/controller at 10 feet.
|
||||
ActionForceFollowObject(oSpeaker,FeetToMeters(10.0));
|
||||
SetLocalInt(OBJECT_SELF,"RP_OX_STATUS",10);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user