Code: Select all
action =
{
type = "direct",
action_delivery =
{
type = "instant",
target_effects =
{
type = "create-entity",
trigger_created_entity="true"
...
Code: Select all
action =
{
type = "direct",
action_delivery =
{
type = "beam",
...
It would be nice if somewhere there in beam creation we could also place trigger_created_entity="true" so that we could get the event which would allow to detect beam creation (and a pair of entities which are connected by it).
Also, currently beams cannot be created by action of type "create-entity" can they? (Just a related question. Not that I can come up with uses for that.)