Jump to content

Pushing a custom event from one structure to another?


Recommended Posts

Hi again everyone!

 

I have been quite happy with my progress until now, but I've run in to a hitch. I am trying to create a pushevent from one structure, that should propogate to the two closest structures with a certain tag. This structure then listens for the event, and reacts accordingly.

 

The following link shows the prefab that is in charge of pushing the event, and near the top you see my attempt at creating a push-event targeting the nearest structure. https://bitbucket.org/levorto/industrial-age/src/83e9da0754f1/scripts/prefabs/generator.lua?at=master

 

I'm hoping one of you guys knows the answer, since nothing has worked until now :/

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...