Explosive Scripting -1 reply

Please wait...

Shadow10k

Meepity beepity BONK!

50 XP

27th March 2007

0 Uploads

76 Posts

0 Threads

#1 12 years ago

Hi there, I was wondering how I could script FX_RUNNERS to trigger explosions, so like 1 and 5 goes off then 1 second later 3 goes off etc. I understand i use the affect scripting command but then what. I don't see use having any triggering options :S




Isla Kamamee

Awkward? You bet!

50 XP

28th August 2006

0 Uploads

1,179 Posts

0 Threads

#2 12 years ago

I think its done thru the func_timer...but I could be wrong. I guess you could code it in if thats really nessecary...




Shadow10k

Meepity beepity BONK!

50 XP

27th March 2007

0 Uploads

76 Posts

0 Threads

#3 12 years ago

I understand func_timer produces an endless amount until pressed again? I would just like something that fires for ten seconds then stop, could this be achieved by incorparating scripting and func_timer... TIME TO EXPERIMENT >_>




Isla Kamamee

Awkward? You bet!

50 XP

28th August 2006

0 Uploads

1,179 Posts

0 Threads

#4 12 years ago

yes, when you think something cant be done, its usually possible thru scripting.




Shadow10k

Meepity beepity BONK!

50 XP

27th March 2007

0 Uploads

76 Posts

0 Threads

#5 12 years ago

So does anyone know the command to trigger something through a script =\ I just want to know how to start an fx_runner and stop one, through script.




lassev

Degenerate scripter

50 XP

21st June 2004

0 Uploads

847 Posts

0 Threads

#6 12 years ago

There's a use("targetname") (use ) command in the ICARUS language. Use it to trigger stuff. Just like you could trigger with Radiant trigger entities.