marker_add(object_name, minimap_icon_name, object_indicator_id[, object_indicator_flags[, sync_type[, fade_dist]]]) | ||
Parameters: | ||
object_name | (table or string) table of objects (or a single object) to add object indicators to | |
minimap_icon_name | (string) name of the minimap icon | |
object_indicator_id | (integer) ID of the object indicator asset to use | |
object_indicator_flags | (integer, optional) flags for the object indicator (defaults to OI_FLAGS_DEFAULT) | |
sync_type | (enumeration, optional) synchronization type (SYNC_LOCAL = affects local player, SYNC_REMOTE = affects remote player, or SYNC_ALL = affects both players; defaults to SYNC_ALL) | |
fade_dist | (float, optional) distance to start fading if the OI_FLAG_FADE flag is specified (default, 100.0) | |
Returns: | ||
none | ||
Description: | ||
Add a minimap marker and object indicator to a table (or single object) of navpoints, players, or script objects. Returns the number of objects that were found (markers successfully added) | ||
back to index | SR3 Script Action Documentation Last updated: Tue, 09 Aug 2011 11:32:15 |