Spawn with Five trap piece
-
Is there a command similar to giveWeapon such that I can give myself the five trap piece in hand when I spawn in?
-
Couldn't figure out how tospawn with them but did figure out how to start with them built
enable_traps_five()
{
level waittill( "fade_introblack" );
traps_array = getentarray( "trigger_battery_trap_fix", "targetname" );for ( i = 0; i < traps_array.size; i++ ) { get_players()[0]._trap_piece = 1; traps_array[i] build_trap(); }
}