Skip to content

five-on-it / packages/sim/src/shields / giveShield

Function: giveShield() ​

giveShield(sim, eid, on?): void

Defined in: packages/sim/src/shields.ts:38

Gives a character a ballistic shield to carry, or takes it away.

Parameters ​

sim ​

SimWorld

eid ​

number

on? ​

boolean = true

Returns ​

void