generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit.
This commit is contained in:
16
_module/nss/wsm_sc_trapdyes.nss
Normal file
16
_module/nss/wsm_sc_trapdyes.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
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);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user