Highlander500 3 Posted September 25, 2023 Hi all, first time here so hello, and please be nice! 😁 Anyway sorry if this has been answered before. Im usually quite good at googling content but sometimes the context isnt quite there. Most of the searches I have done already for answers leads me here and its been REALY useful so thanks! Ok so I am building a custom mission, but for testing i use a blank mission as i have a scripted intro, just quicker for me to test scripts. I have placed a Mini-Spike Launcher(AA) with crew, and a team leader into a group. I have set enableSimulation False; on all 3 of the objects. On a trigger I have forEach units AA1; (the team variable name is AA1) with _x enableSimulation True; Now for the team leader this works no problem, but the AA crew attached to the spike launcher does not re-enable. I can shoot him, he bleeds, he grunts (lol) but does not die or do anything. Do i need to enable the crewman differently? { _x enableSimulation True; }forEach units AA1; Any help would be appreciated, thought I have noticed the spike launcher does not show inside the group hierarchy but the 2 infantry units do (this seems the norm from what i can tell) Thanks Highlander Share this post Link to post Share on other sites
Highlander500 3 Posted September 25, 2023 It seems after hours of playing about, I have removed the enablesimulation false from the group, set it on the 2 riflemen directly, and not set it on the AT launcher. This seems to work pretty well now after testing several times all good! 1 Share this post Link to post Share on other sites
thy_ 183 Posted September 26, 2023 so, is it solved? Share this post Link to post Share on other sites
Highlander500 3 Posted October 12, 2023 On 9/26/2023 at 9:11 PM, thy_ said: so, is it solved? Yessir as explained i chose a slightly different way to enable simulation (on the units not the squad) and the code works as intended. Thanks 1 Share this post Link to post Share on other sites
redarmy 424 Posted October 12, 2023 2 hours ago, Highlander500 said: Yessir as explained i chose a slightly different way to enable simulation (on the units not the squad) and the code works as intended. Thanks Generally i enable simulation on the attributes box. if you use wake up simulation they will simulate when an enemy gets within range,if not then its just the player. This should work fine on the squad icon too Share this post Link to post Share on other sites
thy_ 183 Posted October 12, 2023 5 hours ago, Highlander500 said: Yessir as explained i chose a slightly different way to enable simulation (on the units not the squad) and the code works as intended. Thanks So a good practice here in BIS forums is to set "[SOLVED]" at the beginning of the topic title. Cheers! Share this post Link to post Share on other sites
Highlander500 3 Posted October 22, 2023 On 10/12/2023 at 2:33 PM, thy_ said: So a good practice here in BIS forums is to set "[SOLVED]" at the beginning of the topic title. Cheers! I was looking for a button to do that, didnt realise you edited the title, will do thanks for the heads up! 1 Share this post Link to post Share on other sites