16.01.2010, 01:48
Quote:
Originally Posted by Y_Leѕѕ
You can't use CallRemoteFunction in NPC scripts as they're all separate processes.
|

What You say mostly makes sense but.. I'm not any pro pawn hacker, but while speaking of any other languages - most of the time there should be logically possible to make a parent node that can speak to its childnodes, right?
Or a parent object instance, that speaks to it's child objects stored in an enumerable private variable. I did that composition plenty times in prototype.js lol, but that's not the case.
Anyway, i'm looking for any possibly common namespace/variable scope between the game (samp03svr) and the NPC processes (samp-npc) OR a common namespace/variable scope for the NPC processes (samp-npc)
If that's not anyhow possible, i'm looking forward to any suggestions that could possibly guide me on making two NPCs interacting with eachother considering both the approach i thought of (explained in the first post), or any other possible approaches like a global variable that both child processes could have read/write access to.
Or maybe a mysterious, yet unknown to me method of spawning those NPCs?
Thanks
