-
Notifications
You must be signed in to change notification settings - Fork 13
constants variableType
abc edited this page Jul 28, 2024
·
6 revisions
While writing an addon, one might want to define variables whose values can be altered from outside the class. This object defines the type of variable that is defined inside the class. If you have a GUI to alter these values in real-time, you will have to implement the necessary GUI components to be able to edit these data types. Definition below:
const VariableType = {
Void: 0,
Boolean: 1,
Integer: 2,
Number: 3,
String: 4,
Color: 5,
CollisionFlags: 6,
Coordinate: 7,
Team: 8,
TeamWithSpec: 9,
BgType: 10,
CameraFollow: 11,
KickOffReset: 12,
Flag: 13,
File: 14,
PlayerId: 15,
Keys: 16,
Progress: 17,
PlayerPositionInGame: 18
};