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.
This commit is contained in:
23
_module/nss/jw_semberpor2_us.nss
Normal file
23
_module/nss/jw_semberpor2_us.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
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));
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user