1 /* This file defines the commands botc will treat as valid. |
|
2 * Do not edit unless you know what you are doing! |
|
3 * |
|
4 * Syntax: number:name:returntype:numargs:maxargs[:argumentlist] |
|
5 */ |
|
6 0:changestate:void:1:1:int(newstate) |
|
7 1:delay:void:1:1:int(tics) |
|
8 2:rand:int:2:2:int(a):int(b) |
|
9 3:StringsAreEqual:bool:2:2:str(string1):str(string2) |
|
10 4:LookForPowerups:int:2:2:int(start):bool(visibilitycheck) |
|
11 5:LookForWeapons:int:2:2:int(start):bool(visibilitycheck) |
|
12 6:LookForAmmo:int:2:2:int(start):bool(visibilitycheck) |
|
13 7:LookForBaseHealth:int:2:2:int(start):bool(visibilitycheck) |
|
14 8:LookForBaseArmor:int:2:2:int(start):bool(visibilitycheck) |
|
15 9:LookForSuperHealth:int:2:2:int(start):bool(visibilitycheck) |
|
16 10:LookForSuperArmor:int:2:2:int(start):bool(visibilitycheck) |
|
17 11:LookForPlayerEnemies:int:1:1:int(start) |
|
18 12:GetClosestPlayerEnemy:int:0:0 |
|
19 13:MoveLeft:void:1:1:int(speed) |
|
20 14:MoveRight:void:1:1:int(speed) |
|
21 15:MoveForward:void:1:1:int(speed) |
|
22 16:MoveBackwards:void:1:1:int(speed) |
|
23 17:StopMovement:void:0:0 |
|
24 18:StopForwardMovement:void:0:0 |
|
25 19:StopSidewaysMovement:void:0:0 |
|
26 20:CheckTerrain:int:2:2:int(distance):int(angle) |
|
27 21:PathToGoal:int:1:1:int(speed) |
|
28 22:PathToLastKnownEnemyPosition:int:1:1:int(speed) |
|
29 23:PathToLastHeardSound:int:1:1:int(speed) |
|
30 24:Roam:int:1:1:int(speed) |
|
31 25:GetPathingCostToItem:int:1:1:int(item) |
|
32 26:GetDistanceToItem:int:1:1:int(item) |
|
33 27:GetItemName:str:1:1:int(item) |
|
34 28:IsItemVisible:bool:1:1:int(item) |
|
35 29:SetGoal:void:1:1:int(item) |
|
36 30:BeginAimingAtEnemy:void:0:0 |
|
37 31:StopAimingAtEnemy:void:0:0 |
|
38 32:Turn:void:1:1:int(turnangle) |
|
39 33:GetCurrentAngle:int:0:0 |
|
40 34:SetEnemy:void:1:1:int(player) |
|
41 35:ClearEnemy:void:0:0 |
|
42 36:IsEnemyAlive:bool:0:0 |
|
43 37:IsEnemyVisible:bool:0:0 |
|
44 38:GetDistanceToEnemy:int:0:0 |
|
45 39:GetPlayerDamagedBy:int:0:0 |
|
46 40:GetEnemyInvulnerabilityTicks:int:0:0 |
|
47 41:FireWeapon:void:0:0 |
|
48 42:BeginFiringWeapon:void:0:0 |
|
49 43:StopFiringWeapon:void:0:0 |
|
50 44:GetCurrentWeapon:str:0:0 |
|
51 45:ChangeWeapon:void:1:1:str(weapon) |
|
52 46:GetWeaponFromItem:str:1:1:int(item) |
|
53 47:IsWeaponOwned:bool:1:1:int(item) |
|
54 48:IsFavoriteWeapon:bool:1:1:str(weapon) |
|
55 49:Say:void:1:1:str(message) |
|
56 50:SayFromFile:void:2:2:str(filename):str(section) |
|
57 51:SayFromChatFile:void:1:1:str(section) |
|
58 52:BeginChatting:void:0:0 |
|
59 53:StopChatting:void:0:0 |
|
60 54:ChatSectionExists:bool:1:1:str(section) |
|
61 55:ChatSectionExistsInFile:bool:2:2:str(filename):str(section) |
|
62 56:GetLastChatString:str:0:0 |
|
63 57:GetLastChatPlayer:str:0:0 |
|
64 58:GetChatFrequency:int:0:0 |
|
65 59:Jump:void:0:0 |
|
66 60:BeginJumping:void:0:0 |
|
67 61:StopJumping:void:0:0 |
|
68 62:Taunt:void:0:0 |
|
69 63:Respawn:void:0:0 |
|
70 64:TryToJoinGame:void:0:0 |
|
71 65:IsDead:bool:0:0 |
|
72 66:IsSpectating:bool:0:0 |
|
73 67:GetHealth:int:0:0 |
|
74 68:GetArmor:int:0:0 |
|
75 69:GetBaseHealth:int:0:0 |
|
76 70:GetBaseArmor:int:0:0 |
|
77 71:GetBotskill:int:0:0 |
|
78 72:GetAccuracy:int:0:0 |
|
79 73:GetIntellect:int:0:0 |
|
80 74:GetAnticipation:int:0:0 |
|
81 75:GetEvade:int:0:0 |
|
82 76:GetReactionTime:int:0:0 |
|
83 77:GetPerception:int:0:0 |
|
84 78:SetSkillIncrease:void:1:1:bool(increase) |
|
85 79:IsSkillIncreased:bool:0:0 |
|
86 80:SetSkillDecrease:void:1:1:bool(decrease) |
|
87 81:IsSkillDecreased:bool:0:0 |
|
88 82:GetGameMode:int:0:0 |
|
89 83:GetSpread:int:0:0 |
|
90 84:GetLastJoinedPlayer:str:0:0 |
|
91 85:GetPlayerName:str:1:1:int(player) |
|
92 86:GetReceivedMedal:int:0:0 |
|
93 87:ACS_Execute:void:1:5:int(script):int(map=0):int(arg0=0):int(arg1=0):int(arg2=0) |
|
94 88:GetFavoriteWeapon:str:0:0 |
|
95 89:SayFromLump:void:2:2:str(lump):str(section) |
|
96 90:SayFromChatLump:void:1:1:str(section) |
|
97 91:ChatSectionExistsInLump:bool:2:2:str(lump):str(section) |
|
98 92:ChatSectionExistsInChatLump:bool:1:1:str(section) |
|