Changed folder name.
Changed folder name.
This commit is contained in:
22
_module/nss/lichtrigger1.nss
Normal file
22
_module/nss/lichtrigger1.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetEnteringObject();
|
||||
int oItem = GetHitDice(oPC);
|
||||
if (oItem >= 30)
|
||||
{
|
||||
|
||||
object oSound = GetObjectByTag("falling");
|
||||
SoundObjectPlay(oSound);
|
||||
SendMessageToPC(oPC, "The floor is falling apart beneath you!.");
|
||||
|
||||
effect eBUMP = EffectVisualEffect(VFX_FNF_SCREEN_SHAKE);
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT,eBUMP,oPC, 3.0);
|
||||
|
||||
|
||||
object oDrop = GetWaypointByTag("lichentrance");
|
||||
|
||||
//jump the PC to the destination
|
||||
SendMessageToPC(oPC, "You have fallen into a secret chamber!");
|
||||
DelayCommand(3.0,AssignCommand (oPC,JumpToObject(oDrop)));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user