InfoChangelevel: Difference between revisions
Jump to navigation
Jump to search
Risk of Confusion:This entity class name indeed doesn't have C at the start as is the usual convention for entities.
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
== Keyvalue == | == Keyvalue == | ||
=== KeyValue method === | === KeyValue method === | ||
{{KV|map|intn=0|string|Sets m_mapName trimmed to first 31 characters, will print warning if longer than 31 ("Map name '<map>' too long (<length> chars)\n")}} | {{KV|map|intn=0|string|Sets {{↓|m_mapName}} trimmed to first 31 characters, will print warning if longer than 31 ("Map name '<map>' too long (<length> chars)\n")}} | ||
{{KV|landmark|intn=0|string|Sets m_landmarkName trimmed to first 31 characters, will print warning if longer than 31 ("Landmark name '< | {{KV|landmark|intn=0|string|Sets {{↓|m_landmarkName}} trimmed to first 31 characters, will print warning if longer than 31 ("Landmark name '<landmark>' too long (<length> chars)\n")}} | ||
=== Keyfields === | === Keyfields === | ||
Line 19: | Line 19: | ||
=== Input functions === | === Input functions === | ||
{{DEFINE_INPUTFUNC|?|CheckpointDoorOpened|OnCheckpointDoorOpened}} | |||
{{DEFINE_INPUTFUNC|?|CheckpointDoorClosed|OnCheckpointDoorClosed}} | |||
{{todo}} | {{todo}} | ||
== Outputs == | |||
no special | no special | ||
=== | == Other fields == | ||
=== Keyless fields === | |||
{{DEFINE_FIELD|m_mapName|FIELD_?}} | |||
{{DEFINE_FIELD|m_landmarkName|FIELD_?}} | |||
=== Function fields === | === Function fields === | ||
* | * TouchChangeLevel | ||
* | * ChangeLevelNow | ||
* | |||
==== Think functions ==== | |||
* ChangelevelThink | |||
* ChangeLevelSpeechDelay | |||
{{todo}} | {{todo}} | ||
Latest revision as of 09:04, 26 April 2025
![]() |
---|
InfoChangelevel |

Entities linked to this class
Keyvalue
KeyValue method
- map <string>
- Sets m_mapName ↓ trimmed to first 31 characters, will print warning if longer than 31 ("Map name '<map>' too long (<length> chars)\n")
- landmark <string>
- Sets m_landmarkName ↓ trimmed to first 31 characters, will print warning if longer than 31 ("Landmark name '<landmark>' too long (<length> chars)\n")
Keyfields
no special
Inputs
Input keys
no special
Input functions
CheckpointDoorOpened <?> linked function: OnCheckpointDoorOpened
- description todo
CheckpointDoorClosed <?> linked function: OnCheckpointDoorClosed
- description todo
[Todo]
Outputs
no special
Other fields
Keyless fields
m_mapName <FIELD_?>
m_landmarkName <FIELD_?>
Function fields
- TouchChangeLevel
- ChangeLevelNow
Think functions
- ChangelevelThink
- ChangeLevelSpeechDelay
[Todo]
Datamap dump
CBaseTrigger - info_changelevel - m_mapName (Offset 1368) (Save)(32 Bytes) - m_landmarkName (Offset 1400) (Save)(32 Bytes) - InfoChangelevelTouchChangeLevel (Offset 0) (FunctionTable)(0 Bytes) - OnCheckpointDoorOpened (Offset 0) (Input)(0 Bytes) - CheckpointDoorOpened - OnCheckpointDoorClosed (Offset 0) (Input)(0 Bytes) - CheckpointDoorClosed - InfoChangelevelChangelevelThink (Offset 0) (FunctionTable)(0 Bytes) - InfoChangelevelChangeLevelSpeechDelay (Offset 0) (FunctionTable)(0 Bytes) - InfoChangelevelChangeLevelNow (Offset 0) (FunctionTable)(0 Bytes)
CBaseTrigger - info_changelevel - m_mapName (Offset 1168) (Save)(32 Bytes) - m_landmarkName (Offset 1200) (Save)(32 Bytes) - InfoChangelevelTouchChangeLevel (Offset 0) (FunctionTable)(0 Bytes) - OnCheckpointDoorOpened (Offset 0) (Input)(0 Bytes) - CheckpointDoorOpened - OnCheckpointDoorClosed (Offset 0) (Input)(0 Bytes) - CheckpointDoorClosed - InfoChangelevelChangelevelThink (Offset 0) (FunctionTable)(0 Bytes) - InfoChangelevelChangeLevelSpeechDelay (Offset 0) (FunctionTable)(0 Bytes) - InfoChangelevelChangeLevelNow (Offset 0) (FunctionTable)(0 Bytes)