Allow beams be trigger_created_entity
Posted: Sun Oct 04, 2015 10:26 am
Currently, trigger_created_entity="true" has effect only if stated in
Whereas beams are created by:
(which also should be located inside attack_parameters={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.)
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.)