Page MenuHomeFeedback Tracker

Get model path from CGame::CreateStaticObjectUsingP3D spawned object
Assigned, UrgentPublic

Description

As of DayZ version 1.21.156073, there's no way for us to get the model path of an object spawned via CGame::CreateStaticObjectUsingP3D. Using Object::GetModelPath just returns UNKNOWN_P3D_FILE, as it's looking at the rvconfig CfgVehicles defined type for the Object's instance. Since this feels similar to how Buldozer spawns an object, how would we go about finding the model path of an object spawned this way via script?

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 11 x64
Category
General
Additional Information

DayZ Version 1.21.156073

Event Timeline

OfficialWardog edited Additional Information. (Show Details)
Geez changed the task status from New to Assigned.Apr 24 2023, 2:46 PM