that's the issue, there is no general trigger right now...
you can Spawn something like a key from his corpse using spawn at start = no on the entity to get spawned when he dies and just copy it's name into the ifused field of the bad guy
but to open a door automatically requires specific code.
you could use
something like this in the exit(e) part of the ai script
then use a script on the door like this
if door_triggered == 1 then
if g_Entity[e]['animating'] == 0 then
StartTimer(e)
SetAnimation(0)
PlayAnimation(e)
g_Entity[e]['animating'] = 1
else
if GetTimer(e) >= 800 then
CollisionOff(e)
end
end
end
life\'s one big game
windows vista ultimate
i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11