Jump to content

Programming Help:Hide Method

From Agentpedia, the Microsoft Agent encyclopedia
Hide Method
Hides the specified character.
Introduced in version:Microsoft Agent 1.5
Removed in version: Still in use
Allowed values:Fast (True to skip hiding 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 hiding animation assigned to the agent.

Examples

Inline example (VB.NET)
Merlin.Hide(True)
Advanced example (VB.NET)
' This code example checks if a settings value is true or false, and then determines whether to hide the character without the hide animation or with.
        If My.Settings.FastHide = True Then
            Merlin.Hide(True)
        Else
            Merlin.Hide(False)
        End If

Remarks

You can play a Stop method to halt the previous action immediately before calling this method.