# Effect History Entry Time
Grammar — Time of effect history history entry index
Flags —Native
|Function
Returns the game time (in seconds) when the effect that was logged in the Effect History at the specified Index occurred.
# Arguments
effecthistory
— Historyint
— Index
Returns — fixed
native fixed EffectHistoryGetTime(
effecthistory inHistory,
int inIndex,
);
# Related
Category: Effect History / Entries
- Effect History Entry Ability —
string
<gamelink::Abil> — EffectHistoryGetAbil - Effect History Entry Amount —
fixed
— EffectHistoryGetAmountFixed - Effect History Entry Amount As Integer —
int
— EffectHistoryGetAmountInt - Effect History Entry Effect —
string
<gamelink::Effect> — EffectHistoryGetEffect - Effect History Entry Time —
fixed
— EffectHistoryGetTime - Effect History Entry Type —
int
<preset::EffectHistory> — EffectHistoryGetType - Effect History Entry Unit —
unit
— EffectHistoryGetUnitByLocation - Effect History Entry Weapon —
string
<gamelink::Weapon> — EffectHistoryGetWeapon
# Examples
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:1894
for ( ; ( (auto9091C3BB_ai >= 0 && lv_itEffectHistoryEntry <= auto9091C3BB_ae) || (auto9091C3BB_ai < 0 && lv_itEffectHistoryEntry >= auto9091C3BB_ae) ) ; lv_itEffectHistoryEntry += auto9091C3BB_ai ) {
lv_debugString = "";
lv_effectHistoryEntryTime = EffectHistoryGetTime(lv_effectHistory, lv_itEffectHistoryEntry);
if (((lv_currentTime - lv_effectHistoryEntryTime) > libGame_gv_deathRecap_MaxTimeElapsed_C)) {
break;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:9361
lv_dataEffectRoot = EffectHistoryGetEffect(lv_history, lv_itEntry, c_effectHistoryEffectRoot);
lv_dataEffectCurrent = EffectHistoryGetEffect(lv_history, lv_itEntry, c_effectHistoryEffectCurrent);
lv_dataTime = EffectHistoryGetTime(lv_history, lv_itEntry);
lv_dataType = EffectHistoryGetType(lv_history, lv_itEntry);
lv_dataUnit = EffectHistoryGetUnitByLocation(lv_history, lv_itEntry, c_effectUnitCaster);