Jump to content
MTF Cadet

[Help] How to add multiple scripts into one init field

Recommended Posts

So I'm trying to make a system where players can go up to an AI and select a series of weapons which they are then given. I've managed to get one down but I'm stumped on how to add multiple addactions to one unit.

Share this post


Link to post
Share on other sites
6 minutes ago, MTF Cadet said:

So I'm trying to make a system where players can go up to an AI and select a series of weapons which they are then given. I've managed to get one down but I'm stumped on how to add multiple addactions to one unit.

Update: I will try using HallyG's HALs store script

Share this post


Link to post
Share on other sites

The addAction can be used multiple times in the init. BUT in mp it might add an action for each player present. So you will have the same action multiple times. A solution is to add an action which has a needed variable. Each unit will have its own variable activated and so the actions will appear only once for each player. A self found logic which has saved me many times in mission making. Especially the campaign. Welcome to the forums 💪

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×