[POSSIBLE SPOILER!!] Do shields block slip emitters?

Started by Ninja, November 07, 2013, 02:05:52 PM

Previous topic - Next topic

Clean0nion

Quote from: 4xC on November 12, 2013, 10:26:33 AM
]It's funny you should mention that because last time I played Choix (weeks ago btw) I saw patches of creeper inside my shield areas a few times as if it could appear inside them. Was this a bug that has since been updated?
Yes, it's a bug. I put this in the Bugs and Workarounds topic:

The centre cell of a shield generated from a shield unit is not considered to be "field".

Using the following GetFieldCell command used in Egos:Choix:
:InField
  GetFieldCell(<-x <-y) ->creeperUD ->creeperRL ->acUD ->acRL
  if (<-creeperUD neq0 or (<-creeperRL neq0)) return (TRUE) endif
  return(FALSE)

The centre cell of a shield generated from a shield unit is not counted. On Egos:Choix and other maps using the TransientSlipEmitter script, the slip emitter places creeper inside the centre cell of shields. This is due to the fact that the shields are circular and the push effect on the creeper at the centre of the circle is 0.