- 0
OP Ai
-
Similar Content
-
[EU]AI|PVP|HELI+|LOOT+|Cars+|Guns+|Bank|Trader|NoStam|SpawnSelect|Mission|Namalsk|Takistan|Expansion|Time2Kill
By Harkness,
- spawn select
- missions
- (and 24 more)
- 2 replies
- 3139 views
-
- 8 replies
- 3622 views
-
- 0 replies
- 1962 views
-
- 114 replies
- 32866 views
-
How to add static AI to a custom base using map editor
By Cyrus,
- epoch 1.0.6.2
- custom base
- (and 1 more)
- 13 answers
- 3243 views
-
- Advertisement
Question
ftshill
Since I am on a role with the Server at the moment, here is another issue which needs tackling.
I am using this group for my Ai missions: milizia = [_spawnPos , EAST, 10] call BIS_fnc_spawnGroup;
This only issue with this is due it being a random group the AI which can therefore spawn with rocket launchers. This has been creating issues since i do not want these rocket launchers to be available on my server.
My solution was to change the group to this:
_spawnPos = getPosATL _loot_box; //Using getPosATL because it's 2x faster than getPos
ScreenShot: (http://prntscr.com/38ctu8)
This group was a lot better than the previous, however some of the Ai would spawn in dead due to them spawning in the air.
I tried to fix this adding: _spawnPos set [2,0]; //Forces z coordinate (height) to zero.
This however didn't work. The Ai were still spawning in the air and half would be dead before any player got close to the mission.
The other issue i was having was that the AI were being left behind after the mission (not despawning),
I added:
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now