Author Topic: Player type that cannot shoot  (Read 1901 times)

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.

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?

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

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.

  • 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

Can't you just divide the rooms up then and make separate stuff? Although it takes more work it still ends up with same effect.

Unless its a DM, then thats a different problem. If then, use the non-combat player type for best results.

Why dont you just use the the teleport like event that I forgot the name off.
and use the add item event?