CBaseButton (CS)
Basic Information
- Classname: CBaseButton.
- Description: Generic button.
Class Hierarchy
Entity Data
W = Windows | L = Linux
Name | W. Offset | L. Offset | L. Diff | Type | Description |
---|---|---|---|---|---|
m_fStayPushed | 73 | ? | ? | BOOL | Button stays pushed in until touched again? |
m_fRotating | 74 | ? | ? | float | A rotating button? default is a sliding button. |
m_strChangeTarget | 75 | ? | ? | string_t | If this field is not null, this is an index into the engine string array.
When this button is touched, it's target entity's TARGET field will be set to the button's ChangeTarget. This allows you to make a func_train switch paths, etc. |
m_ls.sLockedSound | 76 | ? | ? | string_t | Sound a door makes when it's locked. |
m_ls.sLockedSentence | 77 | ? | ? | string_t | Sentence group played when door is locked. |
m_ls.sUnlockedSound | 78 | ? | ? | string_t | Sound a door makes when it's unlocked. |
m_ls.sUnlockedSentence | 79 | ? | ? | string_t | Sentence group played when door is unlocked. |
m_ls.iLockedSentence | 80 | ? | ? | int | Which sentence in sentence group to play next. |
m_ls.iUnlockedSentence | 81 | ? | ? | int | Which sentence in sentence group to play next. |
m_ls.flwaitSound | 82 | ? | ? | float | Time delay between playing consecutive 'locked/unlocked' sounds. |
m_ls.flwaitSentence | 83 | ? | ? | float | Time delay between playing consecutive sentences. |
m_ls.bEOFLocked | 84 | ? | ? | BOOL | True if hit end of list of locked sentences. |
m_ls.bEOFUnlocked | 85 | ? | ? | BOOL | True if hit end of list of unlocked sentences. |
m_sounds | 86 | ? | ? | int | None. |
m_bLockedSound | 87 | ? | ? | BYTE | Ordinals from entity selection. |
m_bLockedSentence | 88 | ? | ? | BYTE | For plats. |
m_bUnlockedSound | 89 | ? | ? | BYTE | For plats. |
m_bUnlockedSentence | 90 | ? | ? | BYTE | None. |