Login

russian armor

Spawning units in a building

14 May 2019, 07:12 AM
#1
avatar of jcbarth

Posts: 24

I am currently spawning a couple AI friendly squads into a building with enemies surrounding it, however, every time they spawn, they immediately vacate the building and retreat. Any ideas on how to force the squads to remain in the building? I'm currently using a scenario pack in mod builder.
15 May 2019, 02:10 AM
#2
avatar of Lugie
Senior Modmaker Badge

Posts: 327

Have you disabled the friendly ai? If you want to keep it enabled by default, you have to lock the units to make sure it cant control them.
15 May 2019, 02:17 AM
#3
avatar of jcbarth

Posts: 24

I have not. How do I do that? They are also not fighting back against the enemy AI for some reason.
15 May 2019, 03:14 AM
#4
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

You could lock just the squad or squads using AI_LockSquad or AI_LockSquads.

http://www.fortresseuropemod.com/scardoc/index.html#AI_LockSquad
15 May 2019, 03:31 AM
#5
avatar of jcbarth

Posts: 24

That worked! Thanks for your help :)
15 May 2019, 03:52 AM
#6
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

Sure thing. Glad it worked.
1 user is browsing this thread: 1 guest

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

624 users are online: 624 guests
1 post in the last 24h
7 posts in the last week
39 posts in the last month
Registered members: 49061
Welcome our newest member, Rihedcfrd
Most online: 2043 users on 29 Oct 2023, 01:04 AM