Game Modding | Call of Duty: Black Ops 3 | Scripting
vertdex:
please from your help to reset a trigger to function again after every round or time, so the same action repeats when player hits on trigger again?
function brutus_TriggerSpot()
{
amount = 3;
triggger = GetEnt("brutusTrig","targetname");
triggger waittill("trigger");
for( i=0;i<amount;i++ )
{
brutus::spawn_brutus();
}
}
Spiki:
please from your help to reset a trigger to function again after every round or time, so the same action repeats when player hits on trigger again?
function brutus_TriggerSpot() { amount = 3; triggger = GetEnt("brutusTrig","targetname"); triggger waittill("trigger"); for( i=0;i<amount;i++ ) { brutus::spawn_brutus(); } }
function brutus_TriggerSpot()
{
while(1)
{
amount = 3;
triggger = GetEnt("brutusTrig","targetname");
triggger waittill("trigger");
for( i=0;i<amount;i++ )
{
brutus::spawn_brutus();
}
level waittill("between_round_over");
}
}
vertdex:
function brutus_TriggerSpot() { while(1) { amount = 3; triggger = GetEnt("brutusTrig","targetname"); triggger waittill("trigger"); for( i=0;i<amount;i++ ) { brutus::spawn_brutus(); } level waittill("between_round_over"); } }