# Save Data Table Value (Unit Reference) - Instance
Grammar — Save value as name in the data table instance instance
Flags —Native
|Action
Saves a unit value into a data table instace. If a unit variable is used, the current value of the variable will be checked whenever this value is retrieved from the table. Data tables allow you to store and recall values using a string identifier. If you save a data table value using a string identifier that already exists, you will overwrite the old value, even if it is a different data type than the value you are saving.
# Arguments
int
<datatable> — Instancestring
— Nameunitref
<unit> — Value
Returns — void
native void DataTableInstanceSetUnitRef(
int instance,
string name,
unitref value,
);
# Related
Category: Data Table / Instance Version / Save Value
- Save Data Table Value (Ability Command) - Instance —
void
— DataTableInstanceSetAbilCmd - Save Data Table Value (Actor) - Instance —
void
— DataTableInstanceSetActor - Save Data Table Value (Actor Scope) - Instance —
void
— DataTableInstanceSetActorScope - Save Data Table Value (AI Filter) - Instance —
void
— DataTableInstanceSetAIFilter - Save Data Table Value (Bank) - Instance —
void
— DataTableInstanceSetBank - Save Data Table Value (Boolean) - Instance —
void
— DataTableInstanceSetBool - Save Data Table Value (Byte) - Instance —
void
— DataTableInstanceSetByte - Save Data Table Value (Camera Object) - Instance —
void
— DataTableInstanceSetCameraInfo - Save Data Table Value (Cinematic) - Instance —
void
— DataTableInstanceSetCinematic - Save Data Table Value (Color) - Instance —
void
— DataTableInstanceSetColor - Save Data Table Value (Control) - Instance —
void
— DataTableInstanceSetControl - Save Data Table Value (Conversation) - Instance —
void
— DataTableInstanceSetConversation - Save Data Table Value (Conversation Reply) - Instance —
void
— DataTableInstanceSetReply - Save Data Table Value (Dialog) - Instance —
void
— DataTableInstanceSetDialog - Save Data Table Value (Dialog Item) - Instance —
void
— libNtve_gf_SaveDataTableInstanceValueDialogItem - Save Data Table Value (Difficulty Level) - Instance —
void
— libNtve_gf_SaveDataTableInstanceValueDifficultyLevel - Save Data Table Value (Doodad) - Instance —
void
— DataTableInstanceSetDoodad - Save Data Table Value (Integer) - Instance —
void
— DataTableInstanceSetInt - Save Data Table Value (Marker) - Instance —
void
— DataTableInstanceSetMarker - Save Data Table Value (Objective) - Instance —
void
— DataTableInstanceSetObjective - Save Data Table Value (Order) - Instance —
void
— DataTableInstanceSetOrder - Save Data Table Value (Ping) - Instance —
void
— DataTableInstanceSetPing - Save Data Table Value (Planet) - Instance —
void
— DataTableInstanceSetPlanet - Save Data Table Value (Player Color) - Instance —
void
— libNtve_gf_SaveDataTableInstanceValuePlayerColor - Save Data Table Value (Player Group) - Instance —
void
— DataTableInstanceSetPlayerGroup - Save Data Table Value (Point) - Instance —
void
— DataTableInstanceSetPoint - Save Data Table Value (Portrait) - Instance —
void
— DataTableInstanceSetPortrait - Save Data Table Value (Real) - Instance —
void
— DataTableInstanceSetFixed - Save Data Table Value (Region) - Instance —
void
— DataTableInstanceSetRegion - Save Data Table Value (Revealer) - Instance —
void
— DataTableInstanceSetRevealer - Save Data Table Value (Sound) - Instance —
void
— DataTableInstanceSetSound - Save Data Table Value (Sound Link) - Instance —
void
— DataTableInstanceSetSoundLink - Save Data Table Value (String) - Instance —
void
— DataTableInstanceSetString - Save Data Table Value (Text) - Instance —
void
— DataTableInstanceSetText - Save Data Table Value (Text Tag) - Instance —
void
— libNtve_gf_SaveDataTableInstanceValueTextTag - Save Data Table Value (Timer) - Instance —
void
— DataTableInstanceSetTimer - Save Data Table Value (Transmission) - Instance —
void
— DataTableInstanceSetTransmission - Save Data Table Value (Transmission Source) - Instance —
void
— DataTableInstanceSetTransmissionSource - Save Data Table Value (Trigger) - Instance —
void
— DataTableInstanceSetTrigger - Save Data Table Value (Unit) - Instance —
void
— DataTableInstanceSetUnit - Save Data Table Value (Unit Filter) - Instance —
void
— DataTableInstanceSetUnitFilter - Save Data Table Value (Unit Group) - Instance —
void
— DataTableInstanceSetUnitGroup - Save Data Table Value (Unit Reference) - Instance —
void
— DataTableInstanceSetUnitRef - Save Data Table Value (Wave) - Instance —
void
— DataTableInstanceSetWave - Save Data Table Value (Wave Info) - Instance —
void
— DataTableInstanceSetWaveInfo - Save Data Table Value (Wave Target) - Instance —
void
— DataTableInstanceSetWaveTarget
# Examples
— None found —