Jump to content

Brain

Closed 2.7.7

nuGGGz
nuGGGz

Posted

I'm having issues controlling the brain behavior of spawned NPCs. 

Am I missing an aspect here? It's loading a CustomScientistNpc, but I can't seem to access that class from outside the NpcSpawn?

(WHATTYPE)NpcSpawn.Call("SpawnNpc", pos, GetObjectConfig(npcPreset, pos));

I can access the brain - but I can't seem to make it change states at all.

nuGGGz

Posted

NVM.

Found the hook.

OnCustomNpcTarget

 

Jbird

Posted

I see that you guys have been talking in a Mad Mapper ticket I assume everything is being sorted there.

aimacak

Posted

Thank you for contacting support, I'm glad if your problem is solved, if not, you can write here, even in a closed topic, or join the Mad Mappers Discord server, where you can also create a ticket and communicate in real time, which sometimes greatly speeds up problem solving. And I apologize if this message has caused you any discomfort, you can ignore it, thank you for your understanding.

KpucTaJl

Posted

Changed Status from Pending to Closed

2.2m

Downloads

Total number of downloads.

10.2k

Customers

Total customers served.

147.9k

Files Sold

Total number of files sold.

3.1m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.