Initial upload
Initial upload.
This commit is contained in:
23
_module/nss/gehexit.nss
Normal file
23
_module/nss/gehexit.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
// Move individual to new location
|
||||
location lNewLocation = GetLocation(GetObjectByTag("CryptWP"));
|
||||
object oTarget;
|
||||
|
||||
|
||||
//Since the script is called from a conversation
|
||||
//determine who is moved by calling the GetPCSpeaker function
|
||||
oTarget = GetLastUsedBy();
|
||||
|
||||
if (GetIsObjectValid(oTarget) == TRUE){
|
||||
AssignCommand(oTarget,ActionJumpToLocation(lNewLocation));
|
||||
}
|
||||
else if (GetIsObjectValid(oTarget) == FALSE) {
|
||||
SpeakString("Problem here");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user