1st setIdentity im beginning to believe can only be used (along with the other Identity commands) in the init file or the init field of objects, and not during mid game (some Identity commands are tied to the objects.save file, found in campaigns somewhere but hidden to prevent cheating) im glad to hear u managed it with triggers tho, cuz now im gonna try that for my Identity command prob
2nd if im right line should read
player removeAction 0
where 0 is the identity of the action. if u had added two actions, it would be eihter 0 or 1 depending on what order u added the two actions