What I did:
1- Place trigger zone and attached script below
2- place civilian masked over the trigger zone (do not want soldier shutting me)
3- When player close to the trigger zone being prompted about ai internal number, so if you get their internal number (id) you can work with.
function ai_triggerzone_init(e)
end
function ai_triggerzone_main(e)
if g_Entity[e]['plrinzone']==1 then
PromptDuration("I'm ai number " ..EntObjNo,3000)
end
end
otherwise involves modifying the script of the entity, obtain the id, declare a global variable and store the id, so the trigger zone code , can know what number entity is.
curious about how you managed to get entity going into the trigger zone, at least you thing about a very big trigger zone.
hth
3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz
OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics