SetSecuritronExpression

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

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

Description

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

Syntax

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

Or:

SetSecExp Target:Ref Face:String Expression:String

Example

SetSecuritronExpression Lucky38UpgradeSecuritron03 Infantry Alert
SetSecExp VMQTopsSecMessengerREF Victor Neutral

Notes:

  • 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
  • This function persists across saves and game restarts.