Blockland Forums > Modification Help

Player type that cannot shoot

Pages: (1/2) > >>

Daldrez:

I was wondering if anyone knew of a player type that can't shoot/activate at all, or if you knew the script for it that would also be nice, since that is what I am using it for anyways. I just need a player type that can't shoot so I can find out the property that was used to make it unable to shoot.

Frostbyte:

I know there's a playertype that can't harm anyone or be harmed but you may have to edit it a bit.

I think it was called non combat player or something along those lines.

Also why not give the player any weapons? Or is this something more complex you have in mind?

otto-san:

you could possibly package ArmorName::onTrigger to check if they're holding a weapon and return if they are, but that may not be the best way to do it

Daldrez:

I need it for a class selection room, I can't have players being able to shoot because one of the weapons is a grenade, however it seems that VCE is very glitchy with onPlayerTouch and it continues to randomly stop working. So I could either script everything, which is nigh impossible since I am mostly just a code ninja at this point, or I could find a player type that can't shoot so I could just give the weapons to them without VCE or a script.

Lamebro1:


* Get Non-combatant player type
Make an onplayertouch>Player>non-combatant player type
Once finished make another onplayertouch>Player>datablock no- jetplayer (Or whatever)
???
Profit
*

Pages: (1/2) > >>

Go to full version