Initial upload

Initial upload.
This commit is contained in:
Jaysyn904
2024-10-09 14:17:22 -04:00
parent a13073fd78
commit e51634d39b
2354 changed files with 658510 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
void main()
{
int nActive = GetLocalInt (OBJECT_SELF,"X2_L_PLC_ACTIVATED_STATE");
// * Play Appropriate Animation
if (!nActive)
{
ActionPlayAnimation(ANIMATION_PLACEABLE_ACTIVATE);
AssignCommand(OBJECT_SELF, ActionStartConversation(GetLastUsedBy(), "orb_summon"));
SoundObjectPlay(GetObjectByTag("MagicGlowingBall"));
}
//else
//{
// ActionPlayAnimation(ANIMATION_PLACEABLE_DEACTIVATE);
//}
// * Store New State
SetLocalInt(OBJECT_SELF,"X2_L_PLC_ACTIVATED_STATE",!nActive);
}