Initial commit
Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
20
_module/nss/dae_place_act.nss
Normal file
20
_module/nss/dae_place_act.nss
Normal file
@@ -0,0 +1,20 @@
|
||||
void main()
|
||||
{
|
||||
object oPlayer = GetLastUsedBy();
|
||||
object oSelf = OBJECT_SELF;
|
||||
|
||||
if(GetTag(oSelf) == "dae_word_swich")
|
||||
{
|
||||
ActionPlayAnimation(ANIMATION_PLACEABLE_ACTIVATE, 1.0, 0.0);
|
||||
string sTrap = "dae_trapshow_";
|
||||
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_IMP_FLAME_M, FALSE), GetLocation(GetObjectByTag(sTrap + IntToString(d20(1)))), 3.0);
|
||||
DelayCommand(1.0, ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_IMP_FLAME_M, FALSE), GetLocation(GetObjectByTag(sTrap + IntToString(d20(1)))), 3.0));
|
||||
DelayCommand(2.0, ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_IMP_FLAME_M, FALSE), GetLocation(GetObjectByTag(sTrap + IntToString(d20(1)))), 3.0));
|
||||
DelayCommand(3.0, ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_IMP_FLAME_M, FALSE), GetLocation(GetObjectByTag(sTrap + IntToString(d20(1)))), 3.0));
|
||||
DelayCommand(1.0, ActionPlayAnimation(ANIMATION_PLACEABLE_DEACTIVATE, 1.0, 0.0));
|
||||
}
|
||||
if(GetTag(oSelf) == "dae_level_10")
|
||||
{
|
||||
SetXP(oPlayer, 45001);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user