Game Modding | Call of Duty: Black Ops 3 | Scripting
ModmeBot:
Thread By: xdferpc
it gives me error in the script in doing link
script:
tig1 = GetEnt("trig1", "targetname");
if trig1 waittill( "trigger",player);
I need the "if" since I have several triggers and I want to give each one different function
I need how would correct "if" function
thanks
ModmeBot:
Reply By: mathfag
dafuq are you trying to do?
ModmeBot:
Reply By: Abnormal202
xdferpc
it gives me error in the script in doing link script: tig1 = GetEnt("trig1", "targetname"); if trig1 waittill( "trigger",player); I need the "if" since I have several triggers and I want to give each one different function I need how would correct "if" function thanks
ModmeBot:
Reply By: D-2-K
@Mathfag i just wet myself lmfao :)
ModmeBot:
Reply By: Harry Bo21
pretty accurately described my reaction too
ModmeBot:
Reply By: xdferpc
sorry for the google translator
that I have to change where I put "if" because ,I invented it, I do not know exactly how it goes
ModmeBot:
Reply By: Abnormal202
umm okay so I'm still a little confused exactly what you're trying to do... but I would just thread them each trigger into a function like this:
ModmeBot:
Reply By: Harry Bo21
you "invented" if?
ModmeBot:
Reply By: Abnormal202
Harry Bo21
you "invented" if?
ModmeBot:
Reply By: xdferpc
Abnormal202
Harry Bo21 you "invented" if? I'm gonna assume that's a google translate gone wrong, where he meant to say "created" or something similar