antistasi-1.x
antistasi-1.x copied to clipboard
Garrison staticweapon usage
- A) When garrison is assigned or recruited while the place is spawned in they won't man static guns
- B) When a static gunner is killed noone go replace its spot. maybe this is more complicated and require a LoS / knowsabout check to avoid make the staticweapon slot a killzone for enemy.
Seems like 2 different issues first one is a bug, the other is an enhancement no ?
Negative, the first one is intended:
UPSMON initialization let pass the param "NOVEH2" which prevent AI to man vehicles (staticweapons included) otherwise they'll mount vehicles and roam with them, or if player wanna use the static gun he won't be able because they take control of them.
So we move the unit in gunner at spawn only.
I was thinking about a Y menu section where you can execute scripts while looking at something, a specific one for this case would be:
- check if there is a militiaman in garrison
- tell him to move in as gunner
But this won't solve the second issue, because it actually require the player to be there...
I've ideas yes, not sure how to apply them caring of the current system logic.