Programming Help:Show Method
Appearance
| Show Method | |
|---|---|
| Shows the specified character. |
|
| Introduced in version: | Microsoft Agent 1.5 |
| Removed in version: | Still in use |
| Allowed values: | Fast (True to skip showing animation, false to not skip) |
| Default value: | False (Fast) |
Parts
| Part | Description |
|---|---|
| Fast | Optional. True Skips the animation and False (default) does not skip the showing animation assigned to the agent. |
Examples
Inline example (VB.NET)
Peedy.Show(True)
Peedy.Play("Restpose")
Advanced example (VB.NET)
' This code example checks if a settings value is true or false, and then determines whether to show the character without the show animation or with.
If My.Settings.FastShow = True Then
Merlin.Show(True)
' Not playing an animation will result in a blank frame, so please play one!
Merlin.Play("Restpose")
Else
Merlin.Show(False)
End If
Remarks
When Fast is set to true, an animation needs to be played with the Play method otherwise no frame will be displayed.