fixed subtle bug in OnWeaponAssignment and added object changing to OnObjectCreationAttempt
issue was if ident became complex (defined constructors) the compiler would expect an implicit argument for its return value.