Jaysyn904 ee1dc35889 Initial Commit
Initial Commit
2025-04-03 10:29:41 -04:00

12 lines
403 B
Plaintext

void main()
{ object oPC = GetItemActivator();
object oItem = GetItemActivated();
if (GetTag(oItem) == "leadercrystal")//not needed but hey.
{
effect eFly;
eFly = EffectDisappear();
DelayCommand(1.0,ApplyEffectToObject(DURATION_TYPE_INSTANT, eFly, oPC));
DelayCommand(10.5, AssignCommand(oPC, JumpToObject(GetFactionLeader(oPC))));
}
}