infiltrator_2k 28 Posted February 24, 2014 My mission is quite dynamic in the sense that vehicles and troops spawn on various !alive and enemy count triggers etc. I've set this way to not even I know when to expect things to happen. Same with the enemy AI, I've set many with 33% presence with SAD waypoints, that way the game's more fluid and exciting to play. My only issue is having to many spawn scripts cluttering up my mission folder. Is it possible to put all of these spawn scripts into one script if they use multiple triggers? I ask this because the numerous scripts obviously don't trigger in a specific order so I'm not sure if it's possible or not. Cheers Ian Share this post Link to post Share on other sites
KC Grimes 74 Posted February 24, 2014 If all the scripts are the same, you can simply use one and execute it multiple times whenever its needed. Or if there are say 3 different variation of spawned enemies, you can switch/do to a case that is a parameter passed during execution via your trigger. Share this post Link to post Share on other sites
m0nkey 111 Posted February 24, 2014 I made one of my own, a waypoint patrol script. I also made a script that uses AI Spawn Script and can also incorporate UPSMON with the AISS spawned units. While learning the language takes time and practice, its really not a big deal at all to make a script that calls a script. If you already know how to call a script like AI Spawn Script then all you need to do is decide what you need to pass to your script, build the logic in your script to randomize things (or whatever you are doing) and then call the spawn script you are using now. Share this post Link to post Share on other sites