Discuss this page on this page's Talk Page
| 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. |
(objSendMessage gPlayerShip gSource (msnTranslate gSource 'msgTargetDestroyed) )
gSource messages the player with the text labeled “msgTargetDestroyed”