View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0019379 | AI War 2 | Gameplay Issue | Jan 26, 2018 1:53 pm | Feb 17, 2018 8:38 pm | |
Reporter | Chris_McElligottPark | Assigned To | keith.lamothe | ||
Status | resolved | Resolution | fixed | ||
Product Version | 0.702 Activating Mk1 Grinding Machine | ||||
Fixed in Version | 0.707 | ||||
Summary | 0019379: From Badger: the human faction doesn't see its Controllers die | ||||
Description | Also weird: the human faction doesn't see its Controllers die. I have the following in Human.cs. public override void DoOnDeathLogic(GameEntity entity, EntitySystem FiringSystemOrNull, ArcenSimContext Context) { ArcenDebugging.ArcenDebugLogSingleLine("Human Entity destroyed: " + entity.TypeData.InternalName, Verbosity.DoNotShow ); if (entity.GetMatches( EntityRollupType.Controllers ) // thing dying is a planet controller && FiringSystemOrNull != null) // the game knows who killed it { Engine_AIW2.Instance.PresentationLayer.PlaySoundByType( SFXItemType_NonPositional.PlayerControllerDestroyed ); } The Human Entity Destroyed print never says "Controller", though an equivalent printout in AI.cs does for when humans destroy an AI controller. | ||||
Tags | No tags attached. | ||||
|
For 0.707: * Split out unit-on-death logic into "first death" and "any death", since things like controllers can die and be reclaimed several times during the game. ** AIP-on-death and such goes in the first-death logic. ** Most other stuff goes in any-death logic. For instance, the checks for taunts/messages when certain things die. Thanks :) |
Date Modified | Username | Field | Change |
---|---|---|---|
Jan 26, 2018 1:53 pm | Chris_McElligottPark | New Issue | |
Jan 26, 2018 1:53 pm | Chris_McElligottPark | Status | new => assigned |
Jan 26, 2018 1:53 pm | Chris_McElligottPark | Assigned To | => keith.lamothe |
Feb 17, 2018 8:38 pm | keith.lamothe | Status | assigned => resolved |
Feb 17, 2018 8:38 pm | keith.lamothe | Resolution | open => fixed |
Feb 17, 2018 8:38 pm | keith.lamothe | Fixed in Version | => 0.707 |
Feb 17, 2018 8:38 pm | keith.lamothe | Note Added: 0046998 |