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.
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!
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.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
I'll mark this solved in the sense that users interested in more advanced AI should be using Makinom.