edited November 2015 in ORK Support
I'm working on some AI where NPCs search for items. I can store the name of an item in a string game variable, but there is no way to pass it to an event's Actors or the Search Objects Step. Both require a string to be manually entered into the Search Name field.

Am I missing something? Is there a way to pass a string? I ask because I don't want to create 100+ Events for 100+ items, when a single event would do the job.
Post edited by Nixter on
  • I did some coding and solved this problem for my use case. I have a script that searches for the nearest item and passes the Position back as a Vector3. Since the Change Nav Mesh Target step accepts a Vector3 Game Variable, this works fine.

    Still there are other issues I can see with manually entering these values. Being able to reuse scripts for many different Actors and Shared Objects would probably be a benefit to ORK users.
  • ORK's event system may be very useful, but isn't suited for every use case - you can use Makinom to create systems like that.
    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!
  • Good point. I'll add Makinom to my project and try using that for some of my AI.
  • edited November 2015
    Oh, yeah. Makinom seems easier to use for situations like this. It is much more versatile than the ORK scripting system.

    I'll mark this solved in the sense that users interested in more advanced AI should be using Makinom.
    Post edited by Nixter on
Sign In or Register to comment.