mortenbroesby Posted July 26, 2014 Share Posted July 26, 2014 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 https://forums.kleientertainment.com/forums/topic/38936-pushing-a-custom-event-from-one-structure-to-another/ Share on other sites More sharing options...
Levorto Posted July 27, 2014 Share Posted July 27, 2014 For anyone interested, I answered my own question. See the following code @line 14: https://bitbucket.org/levorto/industrial-age/src/2a439215483e91d60ae544be0594bde606b40b21/scripts/prefabs/generator.lua?at=master Link to comment https://forums.kleientertainment.com/forums/topic/38936-pushing-a-custom-event-from-one-structure-to-another/#findComment-516576 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now