Hi, I’m trying to activate a trigger zone with an enemy entity. I thought that the script zoneanykeyactivate.fpi
;Artificial Intelligence Script
;Header
desc = Zone Activate if any 'key object' enters it
;Triggers
:state=0,anykeywithinzone=1:activateifused=1,state=1,sound=$0
;End of Script
would make it. I named the enemy enemy1 and sett Use Key in the trigger zone to enemy1. But it does not work.
If I on the other hand names a dead entity like a crated to enemy1 and throw it into the trigger zone then the zone activates.
What should I do to make an enemy to activate a triggerzone?