add more flexibility to eject units when garrisonHolder is destroyed, fixes #2242
Description
Description
Details
Details
- Committed
mimo Jan 8 2014, 7:27 PM - Parents
- rP14549: If at first you don't succeed…
- Branches
- Unknown
- Tags
Event Timeline
Comment Actions
It seems absurd that units garrisoned in a ship die when the ship dies, even though they could've ungarrisoned to shore if you sent that command right before the ship died. Currently they only successfully eject if you're in the shallows, which doesn't exist on many water maps. So I don't think we should use PickSpawnPointBothPass().
If units are able to garrison then they should be able to ungarrison too. So I don't think EjectClassesOnDestroy should be necessary.
I wouldn't be opposed to using EjectHealth = 0.1 for ships like most other garrison holders (fortress is 0.075, weird).
/ps/trunk/binaries/data/mods/public/simulation/components/GarrisonHolder.js | ||
---|---|---|
616 | Interesting how this was switched to an unforced ungarrison, which seems incorrect for dying. |