Initial commit
Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
14
_module/nss/hc_ou_secretd.nss
Normal file
14
_module/nss/hc_ou_secretd.nss
Normal file
@@ -0,0 +1,14 @@
|
||||
void main()
|
||||
{
|
||||
string strDest = GetLocalString(OBJECT_SELF, "strDestination");
|
||||
object oPlayer = GetLastUsedBy();
|
||||
|
||||
if (oPlayer != OBJECT_INVALID)
|
||||
{
|
||||
object oDest = GetObjectByTag(strDest);
|
||||
AssignCommand(oPlayer, ClearAllActions());
|
||||
AssignCommand(oPlayer, ActionJumpToObject(oDest, FALSE));
|
||||
AssignCommand(oPlayer, SetFacing(GetFacing(oDest)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user