edited February 2014 in ORK Support
I'm trying to call some level generation code via a Call Function node in the game start event. However, the drop down boxes for the object are not populated, am I supposed to predefine these somewhere?
Also, using reflection is something I would rather avoid if possible. Do ORK events have anything that would allow me to hook into them directly by using delegates/C# events?
  • You define the actors in the very first node of the event. Regarding the hooks, I'm not quite sure...
    Tactics RPG Grid Battle System for ORK
    ---------------------------------------
    Personal Twitter: https://twitter.com/AMO_Crate
    I make RFI! https://twitter.com/NootboxGames
  • Ah ha, I didn't see them there. Thanks :).

    To get around not wanting to use reflection I've tweaked my source slightly. My BaseEvent class now checks to see if it's parent GameObject has a C# event component on it. If it does it fires the event. In the unlikely event that this sounds useful to anyone I would gladly share my changes, it's pretty handy as it allows me to trigger my own external script at the start and/or end of an ORK event.
  • You can also trigger your stuff by using the Send Message steps :)
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.