SetSecuritronExpression

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout: New Vegas.

Description

Used to set a Securitron reference's expression on their monitor. Requires a reference and two strings.

Syntax

[help]
SetSecuritronExpression Target:reference Face:String Expression:String 

Or:

SetSecExp Target:reference Face:String Expression:String

Example

SetSecuritronExpression Lucky38UpgradeSecuritron03 Infantry Alert
SetSecExp VMQTopsSecMessengerREF Victor Neutral 

Notes

  • This function persists across saves and game restarts.
  • This function works based off of the filename of the textures located in the Textures\Creatures\Securitron\ folder. If one wishes to use this function, any custom textures must be added to the aforementioned directory, and they must be named in a similar fashion to the vanilla textures, e.g. CustomTron_Sad.dds. This could then be called via script like so:
SetSecuritronExpression SecuritronRef CustomTron Sad

See Also

  • SwapTextureOnRef - can be used as a non-persistent alternative to this function, see example.