Every once in a while I need a graph to get “myself” and send it as a global signal parameter — it’d be convenient to have “Get Self” be ship with NC rather than hand-rolling it myself every time. My implementation saves the current agent’s GameObject on on the Blackboard.
I name it Get Self because it pairs with FlowCanvas’ “self” node and will come up in a search for “myself”
There’s a little issue.
Get Self click Open Script will bring up an error message.
(Log): Can’t open script of type ‘GetSelf’, because a script with the same name does not exist.
I think it’s because there’s a gap in the file name, it’s Get Self.cs.
Author
Posts
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
Login
Register
By registering on this website you agree to our Privacy Policy.