[Home]

Jailbreak Developer Network: JBGameObjectiveSwitch


Actor >> NavigationPoint >> JumpDest >> JumpSpot >> GameObjective >> JBGameObjectiveSwitch

Similar to JBGameObjectiveTouchable, but additionally displays a custom Jailbreak release switch item.

Relevant Properties

(GameObjective) byte DefenderTeamIndex
Specifies the team that can not disable this objective (because they're defending it).
(Events) name Event
matches the Events→Tag property of the JBInfoJail for the jail this switch controls

See GameObjective for a full list of relevant properties.

Usage

Place the actor: you'll see the static mesh for the release switch base: the moving components are spawned in game. When you rebuild paths, UnrealEd alters the height of the actor automatically (for bot navigation). The Display→PrePivot→Z property is set to 44 by default to adjust the height of the displayed static mesh so it lies on the ground. However, some static meshes have collision boxes that don't match up to the visible floor surface, so you might have to tweak this yourself a bit.

There are properties for setting custom textures and meshes, but we'd rather you didn't change these from defaults for "core release" maps.

The actor has built-in lighting. The default values are probably not terribly good, so please feel free to suggest improvements in our forum: 131173.