Auto commit by GitHub Actions Workflow

This commit is contained in:
MooseBotter
2024-06-30 14:03:23 +00:00
parent 3ee8562b5b
commit eb8fc32c3b
27 changed files with 553 additions and 938 deletions

View File

@@ -3223,18 +3223,18 @@ The message display times are automatically defined based on the timing settings
<pre class="example"><code>
-- Send the 2 messages created with the @{New} method to the Client Group.
-- Note that the Message of MessageClient2 is overwriting the Message of MessageClient1.
ClientGroup = Group.getByName( "ClientGroup" )
Client = CLIENT:FindByName("UnitNameOfMyClient")
MessageClient1 = MESSAGE:New( "Congratulations, you've just hit a target", "Score", 25, "Score" ):ToClient( ClientGroup )
MessageClient2 = MESSAGE:New( "Congratulations, you've just killed a target", "Score", 25, "Score" ):ToClient( ClientGroup )
MessageClient1 = MESSAGE:New( "Congratulations, you've just hit a target", "Score", 25, "Score" ):ToClient( Client )
MessageClient2 = MESSAGE:New( "Congratulations, you've just killed a target", "Score", 25, "Score" ):ToClient( Client )
or
MESSAGE:New( "Congratulations, you've just hit a target", "Score", 25 ):ToClient( ClientGroup )
MESSAGE:New( "Congratulations, you've just killed a target", "Score", 25 ):ToClient( ClientGroup )
MESSAGE:New( "Congratulations, you've just hit a target", "Score", 25 ):ToClient( Client )
MESSAGE:New( "Congratulations, you've just killed a target", "Score", 25 ):ToClient( Client )
or
MessageClient1 = MESSAGE:New( "Congratulations, you've just hit a target", "Score", 25 )
MessageClient2 = MESSAGE:New( "Congratulations, you've just killed a target", "Score", 25 )
MessageClient1:ToClient( ClientGroup )
MessageClient2:ToClient( ClientGroup )
MessageClient1:ToClient( Client )
MessageClient2:ToClient( Client )
</code></pre>
</div>