# GetActMapVal

Get*Val
5.1 OC
any
string entry Name of the entry to be retrieved.
string action Name of the activity of which to get an entry.
id definition Object definition of which to get action data. If not specified, the definition of the calling object is used.
int entry_number Index of the value to be retrieved if an entry contains multiple values.
Gets activity data from the ActMap of an object.
var act_length = GetActMapVal("Length", GetAction()) * GetActMapVal("Delay", GetAction());
Calculates the time in ticks that the current action will take.
GetDefCoreVal
GetObjectVal
GetObjectInfoCoreVal
GetScenarioVal
GetPlayerVal
GetPlayerInfoCoreVal
PeterW
2002-04