UGX-Mods

Call of Duty: Black Ops 3 => Help Desk => Mapping => Topic started by: Fraklin on November 05, 2016, 12:15:15 am

Title: How to enable a trigger when the power is on
Post by: Fraklin on November 05, 2016, 12:15:15 am
I have a wallrun trigger here and I want to make it so that you can only wallrun when the power is on. How do I go about on doing that?

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fimages.akamai.steamusercontent.com%2Fugc%2F204179658726661982%2FC4F0434DD6970584BC45A61DC5EC364AFD0DF313%2F&hash=c40360b03c78cad51a71a00ca4bdabd41348135d)

On top of that, how do I enable any trigger under any circumstance? Thanks!
Title: Re: How to enable a trigger when the power is on
Post by: Dust on November 05, 2016, 09:42:10 am
after the
Code Snippet
Plaintext
function setup_wallrun {
put
Code Snippet
Plaintext
level flag::wait_till( "power_on" );
that way the script will not run until the power is turned on.