Jump to content

ME - Trigger action - SET VISIBLE DRAW


Go to solution Solved by f-18hornet,

Recommended Posts

Posted (edited)

When using the trigger action "SET VISIBLE DRAW" any action in the trigger repeats even if the trigger is set to "ONCE".

The drawing does not become visible either.

Reproduce steps:

1. Add a marker you want to show. Uncheck the Visible check mark (not done on the picture)

ME-trigger-set-visible-draw-bug1.jpg

2. Set up a trigger : ONCE -> TIME MORE : 5 -> SET VISIBLE MARKER : select the drawing and set up a text to see if it's running (since the marker does not become visible)

ME-trigger-set-visible-draw-bug2.jpg

 

3. Run the mission and see the text repeat

ME-trigger-set-visible-draw-bug3.jpg

set-visible-draw-bug.trk

Edited by Kanelbolle
  • Like 1
Posted

I was testing this as well and noticed the same results (no visibility and repeating message output (action message).   

In the log:

Quote

2024-12-09 12:13:23.670 ERROR   Trigger (Main): can't execute trigger, err:"[string "?"]:1: attempt to call global 'a_set_visible_draw' (a nil value)"

I went through the various iterations of visibility with the same results with the trigger action "SET VISIBLE DRAW" and it chokes with the above error.

 

In addition - IMHO there seems to be contradictions with the invisible property checkbox (Figures) for the object and the F10 options box for player visibility. Even though this feature is in the documentation, it's vague on intent of the  "SET VISIBLE DRAW" action other than to trigger visibility.

Documentation (DCS USER MANUAL) :

Quote

SET VISIBLE DRAW. This action makes a drawn object (figure) on the F10 map visible for all players. You must select the drawn object and set the action's value when creating this action.

 

Current behavior:

invisible property checkbox (Figures) - will hide the drawing.

F10 options box for player type - will hide the drawing.

 

It's not elaborated for the trigger action "SET VISIBLE DRAW" is intended, specifically the invisible property checkbox (Figures) or  F10 options box for player visibility.  In any case testing both options resulted with the error. 

12-inch-Red-aviation-ordnance-logo-sticker-with-IYAOYAS-banner.png

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...