# Value From Data Table (Integer) - Instance
Grammar — name from the data table instance instance
Flags —Native
|Function
Returns an integer value from a data table instace. Data tables allow you to store and recall values using a string identifier.
# Arguments
int
<datatable> — Instancestring
— Name
Returns — int
native int DataTableInstanceGetInt(
int instance,
string name,
);
# Related
Category: Data Table / Instance Version / Load Value
- Value From Data Table (Ability Command) - Instance —
abilcmd
— DataTableInstanceGetAbilCmd - Value From Data Table (Actor) - Instance —
actor
— DataTableInstanceGetActor - Value From Data Table (Actor Scope) - Instance —
actorscope
— DataTableInstanceGetActorScope - Value From Data Table (AI Filter) - Instance —
aifilter
— DataTableInstanceGetAIFilter - Value From Data Table (Bank) - Instance —
bank
— DataTableInstanceGetBank - Value From Data Table (Boolean) - Instance —
bool
— DataTableInstanceGetBool - Value From Data Table (Byte) - Instance —
byte
— DataTableInstanceGetByte - Value From Data Table (Camera Object) - Instance —
camerainfo
— DataTableInstanceGetCameraInfo - Value From Data Table (Cinematic) - Instance —
int
<cinematic> — DataTableInstanceGetCinematic - Value From Data Table (Color) - Instance —
color
— DataTableInstanceGetColor - Value From Data Table (Control) - Instance —
int
<control> — DataTableInstanceGetControl - Value From Data Table (Conversation) - Instance —
int
<conversation> — DataTableInstanceGetConversation - Value From Data Table (Conversation Reply) - Instance —
int
<reply> — DataTableInstanceGetReply - Value From Data Table (Dialog) - Instance —
int
<dialog> — DataTableInstanceGetDialog - Value From Data Table (Dialog Item) - Instance —
int
<control> — libNtve_gf_ValueFromDataTableInstanceDialogItem - Value From Data Table (Difficulty Level) - Instance —
int
<difficulty> — libNtve_gf_ValueFromDataTableInstanceDifficultyLevel - Value From Data Table (Doodad) - Instance —
doodad
— DataTableInstanceGetDoodad - Value From Data Table (Integer) - Instance —
int
— DataTableInstanceGetInt - Value From Data Table (Marker) - Instance —
marker
— DataTableInstanceGetMarker - Value From Data Table (Objective) - Instance —
int
<objective> — DataTableInstanceGetObjective - Value From Data Table (Order) - Instance —
order
— DataTableInstanceGetOrder - Value From Data Table (Ping) - Instance —
int
<ping> — DataTableInstanceGetPing - Value From Data Table (Planet) - Instance —
int
<planet> — DataTableInstanceGetPlanet - Value From Data Table (Player Color) - Instance —
int
<playercolor> — libNtve_gf_ValueFromDataTableInstancePlayerColor - Value From Data Table (Player Group) - Instance —
playergroup
— DataTableInstanceGetPlayerGroup - Value From Data Table (Point) - Instance —
point
— DataTableInstanceGetPoint - Value From Data Table (Portrait) - Instance —
int
<portrait> — DataTableInstanceGetPortrait - Value From Data Table (Real) - Instance —
fixed
— DataTableInstanceGetFixed - Value From Data Table (Region) - Instance —
region
— DataTableInstanceGetRegion - Value From Data Table (Revealer) - Instance —
revealer
— DataTableInstanceGetRevealer - Value From Data Table (Sound) - Instance —
sound
— DataTableInstanceGetSound - Value From Data Table (Sound Link) - Instance —
soundlink
— DataTableInstanceGetSoundLink - Value From Data Table (String) - Instance —
string
— DataTableInstanceGetString - Value From Data Table (Text) - Instance —
text
— DataTableInstanceGetText - Value From Data Table (Text Tag) - Instance —
int
<preset::TextTag> — libNtve_gf_ValueFromDataTableInstanceTextTag - Value From Data Table (Timer) - Instance —
timer
— DataTableInstanceGetTimer - Value From Data Table (Transmission) - Instance —
int
<transmission> — DataTableInstanceGetTransmission - Value From Data Table (Transmission Source) - Instance —
transmissionsource
— DataTableInstanceGetTransmissionSource - Value From Data Table (Trigger) - Instance —
trigger
— DataTableInstanceGetTrigger - Value From Data Table (Unit) - Instance —
unit
— DataTableInstanceGetUnit - Value From Data Table (Unit Filter) - Instance —
unitfilter
— DataTableInstanceGetUnitFilter - Value From Data Table (Unit Group) - Instance —
unitgroup
— DataTableInstanceGetUnitGroup - Value From Data Table (Unit Reference) - Instance
- Value From Data Table (Wave) - Instance —
wave
— DataTableInstanceGetWave - Value From Data Table (Wave Info) - Instance —
waveinfo
— DataTableInstanceGetWaveInfo - Value From Data Table (Wave Target) - Instance —
wavetarget
— DataTableInstanceGetWaveTarget
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2303
// Automatic Variable Declarations
// Implementation
return DataTableInstanceGetInt(lp_instance, lp_name);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2309
// Automatic Variable Declarations
// Implementation
return DataTableInstanceGetInt(lp_instance, lp_name);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2315
// Automatic Variable Declarations
// Implementation
return DataTableInstanceGetInt(lp_instance, lp_name);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2321
// Automatic Variable Declarations
// Implementation
return DataTableInstanceGetInt(lp_instance, lp_name);
}