generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit
This commit is contained in:
16
_module/nss/mag_chain.nss
Normal file
16
_module/nss/mag_chain.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetLastUsedBy();
|
||||
object oMod = GetModule();
|
||||
if (GetLocalInt(oMod, "mod_mode")==1)
|
||||
{
|
||||
ActionPlayAnimation(ANIMATION_PLACEABLE_ACTIVATE);
|
||||
ActionPlayAnimation(ANIMATION_PLACEABLE_DEACTIVATE);
|
||||
DelayCommand(2.0, ActionStartConversation(oPC, "portal"));
|
||||
}
|
||||
else
|
||||
{
|
||||
PlaySound("sim_cntresist");
|
||||
FloatingTextStringOnCreature("Only availible in campaign manager mode", oPC);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user