Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

Legacy:TriggeredTexture

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:12, 11 March 2002 by Mychaeel (Talk)

Jump to: navigation, search
Actor >> Triggers (UT) >> TriggeredTexture

TriggeredTexture controls a ScriptedTexture (UT) and allows you to switch between different textures displayed on a brush surface. Used, for instance, for the monitors in in AS-OceanFloor that initially display "Computer online" and switch to "Computer offline" as soon as a terminal has been destroyed.

Properties

DestinationTexture 
The ScriptedTexture (UT) controlled by this TriggeredTexture actor. Note that although this property accepts a regular Texture (UT), the TriggeredTexture won't work if you don't really use a ScriptedTexture (UT).
Textures 
List of regular Texture (UT)s that the TriggeredTexture will cycle through when triggered. Initially, the Texture (UT) in slot 0 (zero) is displayed; each time you trigger the TriggeredTexture, the display advances to the next slot. The first slot containing None marks the end of the list.
bTriggerOnceOnly 
If set, goes through the list only once (rather than switching back to the first slot after the last has been reached).

How to use

  1. Apply a ScriptedTexture (UT) (for instance Monitor1...Monitor 8 from Indus7.utx) wherever you want the dynamic texture to appear. (It will look blank in UnrealEd.)
  2. Place a TriggeredTexture actor somewhere in your map.
  3. Open the TriggeredTexture's properties and set its DestinationTexture property to the ScriptedTexture (UT) you used in the first step.
  4. Fill the Textures slots with the Texture (UT)s you want to display on the ScriptedTexture (UT).
  5. Add a Trigger that triggers the TriggeredTexture whenever the displayed Texture (UT) should change. (To link the Trigger and the TriggeredTexture, set the Trigger's Event property to the same value as the TriggeredTexture's Tag property.)