Changed folder name.

Changed folder name.
This commit is contained in:
Jaysyn904
2022-10-07 21:08:37 -04:00
parent 1c33c2843e
commit 8d97886c3f
7060 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
////////////////////////////////////
//Created by Genisys / Guile 7/1/08
////////////////////////////////////
/*
This script goes on Used event of a placeable..
It basically teleports the PC to their stored
location, or home if they don't have one
I created this for the exit portal for
the overspawning jail area..
*/
////////////////////////////////////
void main()
{
//Declare Major Variables..
object oPC = GetLastUsedBy();
object oPP = oPC;
object oTag = GetObjectByTag("jail1");
location lTag = GetLocation(oTag);
//Send the player to the jail exit...
AssignCommand(oPC, ClearAllActions());
AssignCommand(oPC, JumpToLocation(lTag));
//Auto Destruct!
DelayCommand(20.0, DestroyObject(OBJECT_SELF, 0.0f));
//Script end
}