Files
HeroesStone_PRC8/_module/nss/wsm_sc_trapdyes.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

17 lines
310 B
Plaintext

void main()
{
//get the pc who used the trapdoor
object oPC = GetLastUsedBy();
//get the target waypoint destination
object oDrop = GetWaypointByTag("wsm_wp_m079");
//jump the PC to the destination
AssignCommand (oPC,JumpToObject(oDrop));
//close the trapdoor
PlayAnimation (ANIMATION_PLACEABLE_CLOSE);
}