Jump to content
kohara_02

Scripts not executing properly. Mods: (ACE, ALiVE, VCOM AI (script), RHS, MCC)

Recommended Posts

Good day, I am currently at a dead end of the MP mission I am trying to create for my unit, solely with ALiVE modules, I don't really use any MCC features but just wanted to leave it loaded in case I need to create a scenario while the mission is running.

I wanted to add specific vehicle cargo (custom loadout) in a medevac vehicle(RHS Asset), such as ace medical items. So our medics can replenish their inventory from the vehicle.
 

I did this by adding this in the vehicle's init field:
zaijv4kzlav41.png?width=369&format=png&a
 

In addition I also added scripts on some vehicles and units init field to assign as ALiVE Combat Support so that ALiVE would work with VCOM accordingly, I followed this steps from ALiVE's FAQ site.
 

I followed what's in the red box:
cum2l75jmav41.png?width=1658&format=png&

 

But when I start the mission, the mission loads twice and respawns the vehicles rendering all the scripts I've put useless. I can't figure out how to stop the vehicles from respawning when the mission loads the second time or to have the script run at a specific time so it would execute once the mission finishes loading "Completely".
 

Here's a 5 min. video to show what I am trying to do. https://youtu.be/3nxOfavKnBY

TIA!

PS: I don't know how to title this since I'm not exactly sure what's happening to name it properly. So my apologies if it's misleading.

Share this post


Link to post
Share on other sites

Hey kohara_02. Would you care to share the solution here just for the sake of completeness? Some people may benefit from it in the future, in case they encounter the same problem with you.

 

Anyway, glad you solved your problem :).

  • Like 2

Share this post


Link to post
Share on other sites
On 4/28/2020 at 2:13 AM, ZaellixA said:

Hey kohara_02. Would you care to share the solution here just for the sake of completeness? Some people may benefit from it in the future, in case they encounter the same problem with you.

 

Anyway, glad you solved your problem :).

Sure! So I found out that by setting the ALiVE AI Virtual System Module's synchronization option into "Virtualize All Editor Placed Units..." will also virtualize vehicles placed in the 3DEN Editor which then in turn would respawn the vehicle right from the start and remove all scripts applied on its init field, so by turning this option to its default setting "Only Virtualize Synced Units", would prevent this from happening and have everything to work as normal. 

It's basically my fault, I made the problem myself and didn't realize it sooner. 

But I hope this helps for other mission maker that may encounter such problem, in the event someone would like to toggle that option you may want to sync the vehicles you don't want to be virtualized to the module and not lose the scripts you applied. 

  • Like 1

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

×