Initial Commit
Initial Commit [v1.32PRC8]
This commit is contained in:
15
_module/nss/hts2_entertrig.nss
Normal file
15
_module/nss/hts2_entertrig.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
#include "nw_i0_tool"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oClicker = GetClickingObject();
|
||||
object oTarget = GetTransitionTarget(OBJECT_SELF);
|
||||
|
||||
if (HasItem(oClicker,"hts2_key"))
|
||||
{
|
||||
SetAreaTransitionBMP(AREA_TRANSITION_RANDOM);
|
||||
AssignCommand(oClicker,JumpToObject(oTarget));
|
||||
} else {
|
||||
SendMessageToPC(oClicker,"You must have a key to enter the abandoned sewers.");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user