oops sorry i was obviously still asleep when i wrote that, it should be like this
function ai_soldier_exit(e)
if ai_soldier_state[e] ~= "deathanim" then
SetAttachmentVisible(e,0)
PlayCharacterSound(e,"onDeath")
end
end
life\'s one big game
windows vista ultimate
i5 @3.3ghz, 4gb ram, AMD R9 200 series , directx 11