I don't need to test my programs. I have an error-correcting modem.
The line-of-sight trigger fires an event if a player looks in the direction of a specified actor while being within a certain distance from the LOS trigger and having a clear line of sight to that actor. The distance limitation is relative to the LOS trigger's location, while the direction and line of sight is relative to the target actor location.
Note: This actor only works offline and for the server player on a listen server, but not for any clients on a listen/dedicated server. It does not care whether that player actually participates in the game or is just a spectator.
Property group 'LineOfSightTrigger'
Whether the LOS trigger is ready to fire its event if the player sees it.
Default value: True
How directly (in degrees) a player must be looking at the center of the actor marked by SeenActorTag.
Default value: 15
Maximum distance player can be from the LOS trigger to activate it.
Default value: 3000.0
Match the Tag of an actor which activates this LOS trigger when seen with this property's value. The LOS trigger will not work if this doesn't match the Tag of an existing actor in the level.
Whether the LOS trigger was already activated.
The actor specified by SeenActorTag that needs to be looked at in order to activate this LOS trigger.
Fires the LOS trigger's Event the first time a player sees the trigger after it was enabled. If you want this function to be called again later, you need to manually set bTriggered to False from another UnrealScript function as there's no way to do that automatically.