15 lines
534 B
Plaintext
15 lines
534 B
Plaintext
void main()
|
|
{
|
|
object oPC = GetLastUsedBy();
|
|
object oTarget = GetWaypointByTag("trap_wp");
|
|
location lLocation = GetLocation(oTarget);
|
|
PlaySound("fs_carpt_hard1");
|
|
DelayCommand(0.3, PlaySound("fs_carpt_hard2"));
|
|
DelayCommand(0.6, PlaySound("fs_carpt_hard1"));
|
|
DelayCommand(0.9, PlaySound("fs_carpt_hard2"));
|
|
DelayCommand(1.2, PlaySound("fs_carpt_hard1"));
|
|
|
|
DelayCommand(1.5, AssignCommand(oPC, JumpToLocation(lLocation)));
|
|
DelayCommand(9.0, AssignCommand(GetObjectByTag("aoc_grate"), ActionPlayAnimation(ANIMATION_PLACEABLE_CLOSE)));
|
|
}
|