Jump to content

Recommended Posts

Posted

 

 


/mob/aiEye/show_message(msg, type, alt, alt_type)

if(type != 1)

return

if(ai)

ai.show_message(msg, type, alt, alt_type)

 

Adding this code (in the AI eye file, iirc) allows the AI to see emotes in the specific location that it's looking at.

 

Only problem with the code was that it worked regardless of whether the AI could actually see. If the lights were off, or the camera cut, the AI can still see emotes in that location.

 

I'm not saavy enough with coding to fix it, but I figured this might be of interest to the coders anyways.

 

Link to comment
https://www.paradisestation.org/forum/topic/2752-allow-ai-to-see-emotes/
Share on other sites

Posted

 

The AI can already see emotes/actions in the bridge (in the range of the core) regardless of AI eyes position.

You have a point.

 

Also keep in mind that AI can, for instance, see loot from a dead body even out of its camera range. Very useful bug for seeing murders in maintenance.

 

×
×
  • 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. Terms of Use