11 lines
438 B
Plaintext
11 lines
438 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 a new location!!!");
|
||
|
AssignCommand(PC,ClearAllActions());
|
||
|
AssignCommand(PC,ActionJumpToObject(GetObjectByTag("PitFallToWP"),FALSE));
|
||
|
PlayVoiceChat(VOICE_CHAT_PAIN2,PC);
|
||
|
}
|