11 lines
436 B
Plaintext
11 lines
436 B
Plaintext
void main()
|
|
{
|
|
object PC = GetEnteringObject();
|
|
location PitLocation = GetLocation(GetObjectByTag("PitWP"));
|
|
CreateObject(OBJECT_TYPE_PLACEABLE,"pittrap",PitLocation,FALSE);
|
|
SendMessageToPC(PC,"A pit trap opens beneath your feet and you fall down a chute ending up in new location!!!");
|
|
AssignCommand(PC,ClearAllActions());
|
|
AssignCommand(PC,ActionJumpToObject(GetObjectByTag("PitFallToWP"),FALSE));
|
|
PlayVoiceChat(VOICE_CHAT_PAIN2,PC);
|
|
}
|