Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
chrisbaker1981

Spawning in AI units with Trigger

Recommended Posts

I want to spawn in armored  vehicles at the end of my mission, for both Blofor and Opfor.

The idea is as you come to the end of the mission you have the soothing sound of tanks blowing each other up in the distance.

Currently im using the eden modules for spawning in AI, set the weighting chance to max for armored.

This works some of the time but its too random. I want some way of assuring the players will hear nice big booms from tanks shooting each other.

 

Any suggestions? I have done some research and have found some scripts but cant quite figure them out.

Hoping for a really simple solution. Preferably something i can fill in on activation on a trigger to spawn in specific armored vehicles at a predefined location...

 

 

Share this post


Link to post
Share on other sites
On 2/1/2020 at 7:32 AM, chrisbaker1981 said:

I want to spawn in armored  vehicles at the end of my mission, for both Blofor and Opfor.

The idea is as you come to the end of the mission you have the soothing sound of tanks blowing each other up in the distance.

Currently im using the eden modules for spawning in AI, set the weighting chance to max for armored.

This works some of the time but its too random. I want some way of assuring the players will hear nice big booms from tanks shooting each other.

 

Any suggestions? I have done some research and have found some scripts but cant quite figure them out.

Hoping for a really simple solution. Preferably something i can fill in on activation on a trigger to spawn in specific armored vehicles at a predefined location...

 

 

 

You can do this by placing the two tanks with the waypoint from which they will meet.

So you leave the two tanks hidden during your mission, and only at the end of the mission do you make them visible again.

 

Within the Init of each tank you put

this hideObjectGlobal true;

And to make it visible again, use another trigger with the command

NAMETANK1 hideObjectGlobal false;
NAMETANK1 hideObjectGlobal false;

 

Wiki "hideObjectGlobal" > https://community.bistudio.com/wiki/hideObjectGlobal

Share this post


Link to post
Share on other sites

Place a trigger and then there are some enviromental sounds under Trigger: Effects. Mabe you find one of the sounds fitting.

Share this post


Link to post
Share on other sites

In the future please review my AI compilation list which is in this section of the forum, and here

There are few listings about spawning AI with triggers there. Cheers!

Share this post


Link to post
Share on other sites

×