Battledale_PRC8/_module/nss/jw_semberpor2_us.nss
Jaysyn904 7b9e44ebbb Initial upload
Initial upload.  PRC8 has been added.  Module compiles, PRC's default AI & treasure scripts have been integrated.  Started work on top hak for SLA / Ability / Scripting modifications.
2024-03-11 23:44:08 -04:00

24 lines
563 B
Plaintext

void main()
{
object oidUser=GetLastUsedBy();
int nIdx;
object oAssociate;
object oidDest=GetWaypointByTag("jw_giants2_wp");
for (nIdx=1;nIdx<=5;nIdx++)
{
oAssociate=GetAssociate(nIdx,oidUser);
if (GetIsObjectValid(oAssociate))
{
AssignCommand(oAssociate, JumpToObject(oidDest,FALSE));
}
}
ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_IMP_UNSUMMON),oidUser);
AssignCommand(oidUser, ActionJumpToObject(oidDest,FALSE));
}