Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 2.17 KB

882.md

File metadata and controls

33 lines (23 loc) · 2.17 KB

Wait for power script

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


ModmeBot:

Thread By: Kingslayer Kyle

Does anybody know the script for wait for power,

I have a machine that I need to set up to wait until the power is turned on for it to work,

I also need to set it up so that a hint string says 'Wait until the power is turned on'

Thanks,

Kyle :)


ModmeBot:

Reply By: Abnormal202

You can use the waittill:

{% highlight php %}{% raw %} level flag::wait_till("power_on");

{% endraw %}{% endhighlight %}


To hold the script until power is on. For the Hintstring you can use the default Treyarch one defined as:

{% highlight php %}{% raw %} trigger SetHintString( &"ZOMBIE_NEED_POWER");

{% endraw %}{% endhighlight %}


ModmeBot:

Reply By: Kingslayer Kyle

Abnormal202

You can use the waittill:

{% highlight php %}{% raw %} level flag::wait_till("power_on");

{% endraw %}{% endhighlight %}


To hold the script until power is on. For the Hintstring you can use the default Treyarch one defined as:

{% highlight php %}{% raw %} trigger SetHintString( &"ZOMBIE_NEED_POWER");

{% endraw %}{% endhighlight %}

Thanks man :)