</code></pre></div></div><p>Only has an effect on the script it is called from. Every global script needs its own <codeclass="highlighter-rouge">game_loaded</code> block to correctly set up repeat rate. Will have no effect if called on a non-global script.</p><hr/><h3id="set_global_script_type"><ahref="#set_global_script_type"class="anchor-heading"aria-labelledby="set_global_script_type"><svgviewBox="0 0 16 16"aria-hidden="true"><usexlink:href="#svg-link"></use></svg></a><strong>set_global_script_type</strong></h3><divclass="language-c++ highlighter-rouge"><divclass="highlight"><preclass="highlight"><code><spanclass="kt">void</span><spanclass="n">set_global_script_type</span><spanclass="p">(</span><spanclass="kt">int</span><spanclass="n">type</span><spanclass="p">)</span>
</code></pre></div></div><p>Only has an effect on the script it is called from. Every global script needs its own <codeclass="highlighter-rouge">game_loaded</code> block to correctly set up the script type.</p></div></div><divclass="search-overlay"></div></div></body></html>