Page MenuHomeFeedback Tracker

Make an option/command to show trigger area in preview and change trigger color
New, NormalPublic

Description

For debug purposes. Make some way to show trigger area in preview/in-game, via an option, a command, or any other way.
Also, it's nice to make a way to colorize triggers, effective if there're a lot of triggers in an area.

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Eden Editor
Additional Information

Something like:

trigger showTriggerArea true;
trigger setTriggerColor [0.7,0,0,1];

Event Timeline

POLPOX created this task.Jul 5 2020, 6:12 PM
dedmen claimed this task.Jul 5 2020, 6:15 PM
POLPOX added a comment.Jul 6 2020, 5:00 PM

Didn't mention it but if it's possible to change visibility/color via Trigger's Attribute in Eden Editor, is also welcomed.

R3vo added a subscriber: R3vo.Jun 9 2021, 1:16 AM

Why didn't I see that before I wrote an attribute for it (╯°□°)╯︵ ┻━┻

R3vo removed a subscriber: R3vo.Jul 21 2021, 6:09 PM

Might make drawPolygon3D command, then you can do this (need to manually script the trigger stuff....) and much more?

R3vo added a comment.Sep 29 2021, 5:54 PM

Yes, sounds great. I could also use that to visualize dynamic simulation areas etc. Drawing triggers is already possible anyway with some light scripting.

dedmen added a comment.EditedJul 11 2022, 11:35 AM

Arma just spawns any of these

				modelAreaRectangle="\a3\3DEN\Objects\rectangle.p3d";
				modelAreaRectangleLimited="\a3\3DEN\Objects\rectangleLimited.p3d";
				modelAreaEllipse="\a3\3DEN\Objects\ellipse.p3d";
				modelAreaEllipseLimited="\a3\3DEN\Objects\ellipseLimited.p3d";

and sets scale/texture to match

But we can't do the same, setObjectScale does not support scaling in multiple axes.