Modme Forums
Menu:

apothican servant to hit targets

Game Modding | Call of Duty: Black Ops 3 | Scripting


ModmeBot:

Thread By: Attack_Short
how can i add a trigger_damage, that only registers damage from apothican servant shots? Similar to in revelations when you have to collect the bones and you have to shoot it with the apothican servant


ModmeBot:

Reply By: Symbo
https://aviacreations.com/modme/index.php?view=topic&tid=2236


ModmeBot:

Reply By: mathfag

function storm_bow()
{
trig = GetEnt("storm_trig_start","targetname");

while(1)
	{
	trig waittill("damage", amount, attacker, direction_vec, point, type, tagName, modelName, partName, weapon, dFlags, inflictor, chargeLevel, mod, hit_location);
	IPrintLnBold(weapon.name);
	if(weapon.name == "idk what servant name is" || weapon.name == "i think is has multiple names")
		{
		do something
		}
	wait 0.05; //incase trig is undefined cuz it will give you conn interrupted. otherwise unneeded cuz the waittill
	}
}