Page MenuHomeFeedback Tracker

[Bug] createSimpleObject seems to attempt to use className first even if a shapeName (model path) is provided - this leads to an warning in rpt
Closed, ResolvedPublic

Description

https://community.bistudio.com/wiki/createSimpleObject supports both shapeName and className
it seems to first try to generate via className and only after with shapeName (model path)

this leads to

Calling 'CfgVehicles >> ""' (empty parameter name)

Details

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

Event Timeline

dedmen closed this task as Resolved.May 27 2024, 8:08 PM
dedmen claimed this task.
dedmen added a subscriber: dedmen.

This only happens on internal builds though.

Every simple object looks up its config class on spawn (in case we want to refer to it), but these shape ones have empty classname.
This really doesn't mean anything. But I'll silence it.