17 lines
393 B
Plaintext
17 lines
393 B
Plaintext
|
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);
|
||
|
}
|
||
|
}
|