Page MenuHomeFeedback Tracker

[Feature Request] Return value from drop command
New, NormalPublic

Description

Since a particle effect is an object and possible to get/set a few things (very few, like getPos or deleteVehicle) returning the dropped particle object could be a nice small addition.

Details

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

Event Timeline

POLPOX created this task.Jun 12 2024, 12:40 PM
dedmen set Ref Ticket to AIII-56446.Jun 27 2024, 10:33 AM
dedmen added a subscriber: dedmen.

Its a bit risky in case of script functions that for example return object on success and nil on failure.
If such a script drops a particle effect on error, it might then return an object as if it was a success. But who would drop a particle in case of error.