I'm looking for a way to send commands to another NPC from a utility script.
I know I could add event labels to the NPC and use cmdothernpc, but I'm trying to create something of a generic function to command any NPC to do this one function.
The function I want to use is npcwalkto, which has no deferred form like movenpc does, but I may think of others as well.
Is there a way to send full functions to another script in that way? (As opposed to telling another script to execute its own events)
Question
Satoh
I'm hoping I won't need a source mod for this.
I'm looking for a way to send commands to another NPC from a utility script.
I know I could add event labels to the NPC and use cmdothernpc, but I'm trying to create something of a generic function to command any NPC to do this one function.
The function I want to use is npcwalkto, which has no deferred form like movenpc does, but I may think of others as well.
Is there a way to send full functions to another script in that way? (As opposed to telling another script to execute its own events)
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.