User Tools

Site Tools


modding:function:msntranslate

Discuss this page on this page's Talk Page

msnTranslate

Syntax (msnTranslate missionObj textID [data] [default])
Arguments missionObj: The mission object the text is stored on.
textID: ID of the text to translate
data: arbitrary data to pass on to the text
default: ?
Returns Text, or Nil
Category mission functions, language functions
Description Retrieves the text field stored on the mission object.

Example

(objSendMessage gPlayerShip gSource
(msnTranslate gSource 'msgTargetDestroyed)
)

gSource messages the player with the text labeled “msgTargetDestroyed”

See Also

Mission Types

Return to Mission functions list

Return to Functions list

modding/function/msntranslate.txt · Last modified: 2017/01/31 02:28 by xephyr