mirror of
https://github.com/FlightControl-Master/MOOSE_DOCS.git
synced 2025-08-15 10:37:49 +00:00
MOOSE generated documentation [skip ci]
This commit is contained in:
@@ -2517,7 +2517,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
</div>
|
||||
<h2><strong>Usage:</strong></h2>
|
||||
<pre class="example"><code> local BlueVictory = USERSOUND:New( "BlueVictory.ogg" )
|
||||
local PlayerUnit = UNIT:FindByName( "PlayerUnit" ) -- Search for the active group named "PlayerUnit", that contains a human player.
|
||||
local PlayerUnit = UNIT:FindByName( "PlayerUnit" ) -- Search for the active group named "PlayerUnit", a human player.
|
||||
BlueVictory:ToUnit( PlayerUnit ) -- Play the victory sound to the player unit.
|
||||
</code></pre>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user