marker_add_trigger(trigger_name, minimap_icon_name[, ingame_effect_name[, object_indicator_id[, object_indicator_flags[, sync_type[, fade_dist]]]]]) |
|
Parameters: |
trigger_name | | (string) name of the script trigger |
minimap_icon_name | | (string) name of the minimap icon |
ingame_effect_name | | (string, optional) name of ingame effect (defaults to nil) |
object_indicator_id | | (integer, optional) ID of the object indicator asset to use (defaults to nil) |
object_indicator_flags | | (integer, optional) flags for the object indicator (defaults to OI_FLAGS_LOCATION) |
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 ingame effect to a script trigger. |
|
|
back to index | SR3 Script Action Documentation Last updated: Tue, 09 Aug 2011 11:32:15 |