2 |
2 |
3 // This file defines the functions and events for botc |
3 // This file defines the functions and events for botc |
4 // Do not edit unless you know what you are doing! |
4 // Do not edit unless you know what you are doing! |
5 |
5 |
6 // ============================================================================= |
6 // ============================================================================= |
|
7 // |
7 // Function definitions |
8 // Function definitions |
8 // Syntax: number:name:returntype:numargs:maxargs[:argumentlist] |
9 // Syntax: number:name:returntype:numargs:maxargs[:argumentlist] |
9 // |
10 // |
10 funcdef 0:changestate:void:1:1:int(newstate); |
11 funcdef 0:changestate:void:1:1:int(newstate); |
11 funcdef 1:delay:void:1:1:int(tics); |
12 funcdef 1:delay:void:1:1:int(tics); |
100 funcdef 90:SayFromChatLump:void:1:1:str(section); |
101 funcdef 90:SayFromChatLump:void:1:1:str(section); |
101 funcdef 91:ChatSectionExistsInLump:bool:2:2:str(lump):str(section); |
102 funcdef 91:ChatSectionExistsInLump:bool:2:2:str(lump):str(section); |
102 funcdef 92:ChatSectionExistsInChatLump:bool:1:1:str(section); |
103 funcdef 92:ChatSectionExistsInChatLump:bool:1:1:str(section); |
103 |
104 |
104 // ============================================================================= |
105 // ============================================================================= |
|
106 // |
105 // Events: |
107 // Events: |
106 // eventdef <number>:<name>(); |
108 // eventdef <number>:<name>(); |
107 // |
109 // |
108 eventdef 0:KilledByEnemy(); |
110 eventdef 0:KilledByEnemy(); |
109 eventdef 1:KilledByPlayer(); |
111 eventdef 1:KilledByPlayer(); |