Page MenuHomeFeedback Tracker

Add a command to attach entity to cursor in eden editor
Closed, ResolvedPublic

Description

Currently there is no way to simulate the native eden editor placement behaviour e.g. selecting an entity from the asset browser and it then being attached to the cursor, highlighting surfaces where the entity is going to be placed etc.

This would allow custom UIs to have the same placement behaviour as native eden editor.

set3DENAttachedCursorEntity <CLASSNAME>;

Optionally, to simulate the placement of compositions.

set3DENAttachedCursorEntity [class1, offset1, class2, offset2, classN, offsetN];

where offset would be an array with an offset from the cursor position.

Details

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

Event Timeline

R3vo created this task.Jul 1 2024, 11:44 PM
R3vo updated the task description. (Show Details)Jul 1 2024, 11:47 PM
dedmen set Ref Ticket to AIII-56463.Jul 2 2024, 4:08 PM
dedmen added a subscriber: dedmen.EditedJul 2 2024, 6:30 PM
[] spawn {
sleep 2;
set3DENAttachedCursorEntity createHashMapFromArray [["type", "unit"], ["classname", "B_Survivor_F"]];
}
set3DENAttachedCursorEntity createHashMapFromArray [["type", "marker"], ["classname", "mil_pickup"], ["markertype", "icon"]];

Theoretically possible to add color to marker. Not implemented now.

For now only this, unit and marker.
Later on we can support type's like trigger, module, group, composition (steam or custom or just array of objects to dynamically create one in script).

Options:
type="unit"

  • classname: string

type="marker"

  • classname: string
  • markertype: string (icon, rectangle, ellipse)
This comment was removed by LouMontana.
R3vo changed the task status from New to Feedback.Jul 15 2024, 5:22 PM
R3vo closed this task as Resolved.Mon, Oct 28, 6:52 PM
R3vo claimed this task.