SwiftlyS2

EventInstructorServerHintCreate

Interface EventInstructorServerHintCreate

Namespace: SwiftlyS2.Shared.GameEventDefinitions

Assembly: SwiftlyS2.CS2.dll

Event "instructor_server_hint_create" create a hint using data supplied entirely by the server/map. Intended for hints to smooth playtests before content is ready to make the hint unneccessary. NOT INTENDED AS A SHIPPABLE CRUTCH

public interface EventInstructorServerHintCreate : IGameEvent<EventInstructorServerHintCreate>

Implements

Properties

HintActivatorCaption

the hint caption that only the activator sees e.g. "#YouPushedItGood"


type: string

string HintActivatorCaption { get; set; }
Property Value

HintActivatorUserid

playerslot of the activator


type: player_controller

int HintActivatorUserid { get; set; }
Property Value

HintAllowNodrawTarget

if false, the hint will dissappear if the target entity is invisible


type: bool

bool HintAllowNodrawTarget { get; set; }
Property Value

HintBinding

bindings to use when use_binding is the onscreen icon


type: string

string HintBinding { get; set; }
Property Value

HintCaption

the hint caption. e.g. "#ThisIsDangerous"


type: string

string HintCaption { get; set; }
Property Value

HintColor

the hint color in "r,g,b" format where each component is 0-255


type: string

string HintColor { get; set; }
Property Value

HintEntindex

entity id of the env_instructor_hint that fired the event


type: long

int HintEntindex { get; set; }
Property Value

HintFlags

hint flags


type: long

int HintFlags { get; set; }
Property Value

HintForcecaption

if true, the hint caption will show even if the hint is occluded


type: bool

bool HintForcecaption { get; set; }
Property Value

HintGamepadBinding

gamepad bindings to use when use_binding is the onscreen icon


type: string

string HintGamepadBinding { get; set; }
Property Value

HintIconOffscreen

the hint icon to use when the hint is offscreen. e.g. "icon_alert"


type: string

string HintIconOffscreen { get; set; }
Property Value

HintIconOffset

how far on the z axis to offset the hint from entity origin


type: float

float HintIconOffset { get; set; }
Property Value

HintIconOnscreen

the hint icon to use when the hint is onscreen. e.g. "icon_alert_red"


type: string

string HintIconOnscreen { get; set; }
Property Value

HintLayoutfile

Path for Panorama layout file


type: string

string HintLayoutfile { get; set; }
Property Value

HintLocalPlayerOnly

if true, only the local player will see the hint


type: bool

bool HintLocalPlayerOnly { get; set; }
Property Value

HintName

what to name the hint. For referencing it again later (e.g. a kill command for the hint instead of a timeout)


type: string

string HintName { get; set; }
Property Value

HintNooffscreen

if true, the hint will not show when outside the player view


type: bool

bool HintNooffscreen { get; set; }
Property Value

HintRange

range before the hint is culled


type: float

float HintRange { get; set; }
Property Value

HintReplaceKey

type name so that messages of the same type will replace each other


type: string

string HintReplaceKey { get; set; }
Property Value

HintStartSound

Game sound to play


type: string

string HintStartSound { get; set; }
Property Value

HintTarget

entity id that the hint should display at


type: long

int HintTarget { get; set; }
Property Value

HintTimeout

how long in seconds until the hint automatically times out, 0 = never


type: short

short HintTimeout { get; set; }
Property Value

HintVrHeightOffset

Height offset for attached panels


type: float

float HintVrHeightOffset { get; set; }
Property Value

HintVrOffsetX

offset for attached panels


type: float

float HintVrOffsetX { get; set; }
Property Value

HintVrOffsetY

offset for attached panels


type: float

float HintVrOffsetY { get; set; }
Property Value

HintVrOffsetZ

offset for attached panels


type: float

float HintVrOffsetZ { get; set; }
Property Value

HintVrPanelType

Attachment type for the Panorama panel


type: short

short HintVrPanelType { get; set; }
Property Value

UserId

user ID of the player that triggered the hint


type: player_controller

int UserId { get; set; }
Property Value

UserIdController

user ID of the player that triggered the hint


type: player_controller

CCSPlayerController UserIdController { get; }
Property Value

UserIdPawn

user ID of the player that triggered the hint


type: player_controller

CCSPlayerPawn UserIdPawn { get; }
Property Value

UserIdPlayer

IPlayer UserIdPlayer { get; }
Property Value

On this page