Author Topic: OnPerception Event for PCs?  (Read 319 times)

Legacy_AndarianTD

  • Hero Member
  • *****
  • Posts: 725
  • Karma: +0/-0
OnPerception Event for PCs?
« on: June 01, 2013, 11:06:09 pm »


               Does anyone know if there is an OnPerception event generated for PCs, and if so how to catch and handle it? What I want to do is script something when a PC perceives a particular creature, rather than the other way around (via OnPerception for the creature).

Is that possible? And thanks in advance for any feedback.
               
               

               
            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
OnPerception Event for PCs?
« Reply #1 on: June 02, 2013, 02:28:35 am »


               There is no such event, BUT you could probably create one. One way would be to create a few AOE's on the PC which represent the various perception types, and write your own custom script to track which NPCs within each respective AOE are seen and/or heard (smelled etc...) by the PC.