Background for Fallout 4
Member of the Message script
intfunctionShow(floatafArg1=0.0, floatafArg2=0.0, floatafArg3=0.0, floatafArg4=0.0, floatafArg5=0.0, floatafArg6=0.0, floatafArg7=0.0, floatafArg8=0.0, floatafArg9=0.0)Native

Description

Wiki Description

Displays the message to the screen, substituting the passed-in numbers into the appropriate spots in the text. If the message is set to display in a message box, the function waits for the user to press a button and returns which button they hit.

Documentation Comment

Show this message on the screen, substituting the values as appropriate. If a message box, it will wait until the user closes the box
before returning - returning the button the user hit. If not a message box, or something went wrong, it will return -1


Parameters

  1. floatafArg1=0.0

    CK Wiki Description

    The number to substitute into the first spot in the text.

  2. floatafArg2=0.0

    CK Wiki Description

    The number to substitute into the second spot in the text.

  3. floatafArg3=0.0

    CK Wiki Description

    The number to substitute into the third spot in the text.

  4. floatafArg4=0.0

    CK Wiki Description

    The number to substitute into the fourth spot in the text.

  5. floatafArg5=0.0

    CK Wiki Description

    The number to substitute into the fifth spot in the text.

  6. floatafArg6=0.0

    CK Wiki Description

    The number to substitute into the sixth spot in the text.

  7. floatafArg7=0.0

    CK Wiki Description

    The number to substitute into the seventh spot in the text.

  8. floatafArg8=0.0

    CK Wiki Description

    The number to substitute into the eighth spot in the text.

  9. floatafArg9=0.0

    CK Wiki Description

    The number to substitute into the ninth spot in the text.


Examples

; Display a simple message to the user
HelloWorld.Show()
; Display a message, replacing the first number with a 10
YouGotGold.Show(10)
;/ Display a message, replacing the third number with a 20 (leaving first and second to be 0), and getting
   the button the user hit /;
int ibutton = YetAnotherMessage.Show(afArg3 = 20)

Auto-Generated Example

float myFloat__afArg1
float myFloat__afArg2
float myFloat__afArg3
float myFloat__afArg4
float myFloat__afArg5
float myFloat__afArg6
float myFloat__afArg7
float myFloat__afArg8
float myFloat__afArg9

int returnedValue = myMessage__toCallFunctionOn.Show(myFloat__afArg1, myFloat__afArg2, myFloat__afArg3, myFloat__afArg4, myFloat__afArg5, myFloat__afArg6, myFloat__afArg7, myFloat__afArg8, myFloat__afArg9)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.