ShowAsHelpMessage - Message: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
imported>Jlundin
No edit summary
 
m (Convert source tags to syntaxhighlight)
 
Line 6: Line 6:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
Function ShowAsHelpMessage(string asEvent, float afDuration, float afInterval, int aiMaxTimes) native
Function ShowAsHelpMessage(string asEvent, float afDuration, float afInterval, int aiMaxTimes) native
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 17: Line 17:


== Example ==
== Example ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Display a message telling the player to press the jump button.
; Display a message telling the player to press the jump button.
; In this example, the message's text would be something like "Press [Jump] to jump."
; In this example, the message's text would be something like "Press [Jump] to jump."
Message.ShowAsHelpMessage("Jump", 5, 30, 3)
Message.ShowAsHelpMessage("Jump", 5, 30, 3)
</source>
</syntaxhighlight>


== See Also ==
== See Also ==

Navigation menu