Jump to content

Satoh

Members
  • Posts

    13
  • Joined

  • Last visited

Community Answers

  1. Satoh's post in Make Script command NPC to do arbitrary code was marked as the answer   
    "the event code of all NPCs with given label will be invoked"
     
    The problem with that is that the NPC I'd like to command would not have a special event label.
    I want to have my script run itself, through another NPC, rather than having my script call an event another NPC was already coded to do.
     
    The reason for that is that I plan to have the event run on any NPC, regardless of what it does.
    I guess you could call it a global controller script?
     
    What I want to do is sort of like the inverse of a callfunc...
    The more I think about it the more it seems like I'd need to modify the NPC source to route functions from one to another that way...
     
    Example: Script A wants NPC B to walk 4 steps south. Script A has code to do this, NPC B does not. Script A would execute its own code, but have it act on NPC B instead of itself.
     
    EDIT: Ok, I've scoured the documents and command lists as hard as I possibly can, I've tried a number of things, none of them work. I'm calling this impossible, pending source mods.
×
×
  • Create New...