Jump to content
Blackheart_Six

Trigger to de-spawn AI?

Recommended Posts

I am working on randomized patrols using the scenario framework. And I have a pretty good system setup.

 

But my one problem is I don't know how to de-spawn the AI when you leave the trigger area. There is no entity in workbench. I don't want to fill Everon with AI as you enter each trigger area.

 

I don't know enough about enfusion scripting yet to develop a user script. 

 

Any ideas?

Share this post


Link to post
Share on other sites

I guess you already found the solution. Can you share your video (or text solution) where the thing is shown?

 

I already posted the text solution here:

 

Share this post


Link to post
Share on other sites

You can try to create area and under the area create layer. Under the layer create slotai. In each slotai spawn the unit you want. Make sure you have gamemodesf component in your game more settings and activate spawn/despawn. That allows you when entering the area spawn the units and when you leave spawn them again in previous position.

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

×