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,37 @@
//trapdoor_yes script by Kerico 7/7/02
//jumps the using PC to target waypoint and closes the trapdoor for next use
//place in action taken scipt in trapdoor conversation
//in 'yes' end dialog of the trapdoor
void main()
{
//get the pc who used the trapdoor
//get the target waypoint destination
object oDrop = GetWaypointByTag("prison");
object oMerem = GetObjectByTag("Merem");
object oWatch = GetObjectByTag("TownWatch4");
object oWatch2 = GetObjectByTag("warden");
object oWatch3 = GetObjectByTag("bouncer");
object oTriggerer = GetLastHostileActor();
DelayCommand(60.0, AdjustReputation(GetLastHostileActor(), OBJECT_SELF, 100));
DelayCommand(60.0,AdjustReputation(GetLastHostileActor(), oMerem, 100));
DelayCommand(60.0, AdjustReputation(GetLastHostileActor(), oWatch, 100));
DelayCommand(60.0, AdjustReputation(GetLastHostileActor(), oWatch2, 100));
DelayCommand(60.0, AdjustReputation(GetLastHostileActor(), oWatch3, 100));
DelayCommand(60.0,SendMessageToPC(oTriggerer, "You have been taken to jail Speak with the guard to get out."));
DelayCommand(60.0, SendMessageToPC(oTriggerer, "If he is hostile, damage him to restart your sentence."));
//jump the PC to the destination
DelayCommand(60.0,AssignCommand (oTriggerer,JumpToObject(oDrop)));
}