Posted: Sat Mar 09, 2024 9:57 pm Post subject:
What does SW.Group do? [SOLVED]
Subject description: Trying to remove some superweapon from showing in the sidebar
If I need multiple superweapons to trigger, I just need one superweapon to trigger it on the sidebar.
SW.ShowCameo is ignored if SW.AutoFire=no is set, and the closest I've got is I think SW.Group which I thought would only show one of the superweapon that is part of that group.
For example, SW.Group=13 is set for Superweapon1Special and SW.Group=13 is also set for Superweapon2Special.
But the effect was that it actually separated both superweapons from each other compared to not having SW.Group, which would just have both of the same Type= to trigger. Last edited by Ousagi on Tue Mar 19, 2024 3:23 pm; edited 1 time in total QUICK_EDIT
It's used by Script Action 55,N ;Activate Iron Curtain on Team (N is 0 on all existing scripttypes)
To use it you need SW.AITargetingMode=IronCurtain on your superweapon. It doesn't have to be Type=IronCurtain, and can be used with any defensive superweapon, as long as it has SW.AITargetingMode=IronCurtain.
If your custom superweapon (let's say a superweapon that triggers a warhead that spreads a boosting attacheffect) has SW.Group=13, it'll be considered by teams with script action 55,13.
The default value of 0 for SW.Group ensures that any superweapon with SW.AITargetingMode=IronCurtain will be considered by teams with script action 55,0.
I see. So it's used for superweapons where the group gathers together until the superweapon fire at them then they continue with the script, just like the regular Iron Curtain in game.
Thanks for telling me it's for scripts only and for SW.AITargetingMode=IronCurtain! It might be useful later on if I started feeling like making support superweapons. QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum