| Home Page | Recent Changes

ChangeViewTrigger

Postal 2 :: Actor >> Triggers >> ChangeViewTrigger

Custom Actor created by Kamek for use in P2JailBreak. When Touch() is called, the triggering PlayerController's viewpoint will be changed to an outside view as defined in the actor's properties.

Enums

EChangeViewType

VT_SingleActorView
Player's view changes to the actor designated by ViewTag. Only the first actor found with the matching ViewTag will be used.
VT_MultipleActorView
Player's view cycles through all actors designated by ViewTag. Interval between camera switching is defined by CameraChangeTime.
VT_CurrentLeaderView
Player's view changes to that of the highest-ranking non-jailed player on either team.
VT_TeammateView
Player's view changes to that of the highest-ranking non-jailed player on the same team.

Properties

ChangeViewTrigger

EChangeViewType NewView
Determines how the player's viewpoint is affected when they use this actor.
float CameraChangeTime
Amount of time in seconds each camera is viewd in VT_MultipleActorView mode.
name ViewTag
Tag of actor to be viewd in VT_SingleActorView or VT_MultipleActorView.
string BeginViewingMessage
Message displayed to player when they begin utilizing this actor.
string EndViewingMessage
Message displayed to player when they stop using this actor.

How To Use

Players must be able to touch this actor in order to use it. This can be accomplished either by simply placing the actor where you want the player's view to change, or linking it up to a Volume if you want multiple people to be able to use this actor. Linking it up to a Volume via AssociatedActor is probably the best way to use the ChangeViewTrigger.

Related Links


Category Class (P2)
Category Custom Class

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

FAQs

Help Desk

Mapping Topics

Mapping Lessons

UnrealEd Interface

UnrealScript Topics

UnrealScript Lessons

Making Mods

Class Tree

Modeling Topics

Chongqing Page

Log In