Legacy:Actor (UT)/Events: Difference between revisions

From Unreal Wiki, The Unreal Engine Documentation Site
removed old discussion, refactored a bit
 
No edit summary
 
Line 1: Line 1:
{{classbox| [[Legacy:UT|UT]] :: [[Legacy:Object (UT)|Object (UT)]] >> [[Legacy:Actor (UT)|Actor (UT)]] (Property group: Events)}}
There are only two variables under an this heading of an Actor's properties:  [[Legacy:Event|Event]] and [[Legacy:Tag|Tag]].  These control the passage and transferrence of events.  Usually, according to an actor's script, the act of passing an event results in this actor doing the following things:
There are only two variables under an this heading of an Actor's properties:  [[Legacy:Event|Event]] and [[Legacy:Tag|Tag]].  These control the passage and transferrence of events.  Usually, according to an actor's script, the act of passing an event results in this actor doing the following things:
# Search for each actor whose Tag matches this actor's Event.
# Search for each actor whose Tag matches this actor's Event.
Line 5: Line 7:
The text entered into these two properties is arbitrary: the only important thing is the way the names match. It's sensible to use a descriptive name, for example "BlueDoor", or "Explosion".  
The text entered into these two properties is arbitrary: the only important thing is the way the names match. It's sensible to use a descriptive name, for example "BlueDoor", or "Explosion".  


; Event : the name of the event that the actor will fire
; name Event : The name of the event that the actor will fire.
; Tag : the name of the event that will trigger the actor. By default, this is the same as the name of the actor's class.
; name Tag : The name of the event that will trigger the actor. By default, this is the same as the name of the actor's class.


==Related Topics ==
==Related Topics ==
Line 12: Line 14:


This topic needs a shake-up: we have [[Legacy:Event|event]], [[Legacy:Tag|tag]], [[Legacy:Triggered|triggered]]
This topic needs a shake-up: we have [[Legacy:Event|event]], [[Legacy:Tag|tag]], [[Legacy:Triggered|triggered]]
'''Wormbo:''' Is this part of [[:Category:Legacy To Do]]?
[[Category:Legacy To Do|{{PAGENAME}}]]

Latest revision as of 23:44, 22 May 2003

UT :: Object (UT) >> Actor (UT) (Property group: Events)

There are only two variables under an this heading of an Actor's properties: Event and Tag. These control the passage and transferrence of events. Usually, according to an actor's script, the act of passing an event results in this actor doing the following things:

  1. Search for each actor whose Tag matches this actor's Event.
  2. Call the "Trigger" function in each of these actors.

The text entered into these two properties is arbitrary: the only important thing is the way the names match. It's sensible to use a descriptive name, for example "BlueDoor", or "Explosion".

name Event
The name of the event that the actor will fire.
name Tag
The name of the event that will trigger the actor. By default, this is the same as the name of the actor's class.

Related Topics

This topic needs a shake-up: we have event, tag, triggered

Wormbo: Is this part of Category:Legacy To Do?