I wouldn't know how to exactly do that.
If you crouch then the others can't hit you unless they crouch, some don't even have the time/reaction-time to crouch before they die.
What? Learn to aim. Problem solved.
It's a property on the armor.PlayerStandardArmor.crouchBoundingBox = PlayerStandardArmor.boundingB ox;
crouchBoundingBox = PlayerStandardArmor.boundingBox;
I don't think you should be posting at all in coding help. Why don't you frolic in the off topic section instead.
Try this instead:Code: [Select]crouchBoundingBox = PlayerStandardArmor.boundingBox;
function Crouch(){return;}
Code: [Select]function Crouch(){return;}
Also, allow me to propose the 'last ditch' solution, wherein you make it so crouching causes you to die.
If all else fails, and do not do this except as a last resort, you can probably enforce not crouching by adding some nasty piece of code to the armor::ontrigger which will make the player think twice before they hit the floor.
function armor::onTrigger(%client, %slot, %io){ if(%slot == 3 && %io) crouch(0);}
What would this do (assuming that I'm coding it correctly)?Code: [Select]function armor::onTrigger(%client, %slot, %io){ if(%slot == 3 && %io) crouch(0);}Basically, uncrouch the player on-crouch