Page MenuHomeFeedback Tracker

DayZLightAI crashes client when used on a ItemPreviewWidget
New, UrgentPublic

Description

I've been trying for weeks to figure out what is going on, and still, have no reason as to why it's happening, so I figured I'd report it. I've tried in multiple ways to set an ItemPreviewWidget to an Infected, and it just crashes the client.

I have tried:

			previewItem = GetGame().CreateObject( "ZmbF_CitizenANormal_Brown", vector.Zero, false );

			m_item_widget.SetItem( previewItem );

and:

			previewItem = GetGame().CreateObject( "ZmbF_CitizenANormal_Brown", vector.Zero, true );

			m_item_widget.SetItem( previewItem );

Settings the first boolean to true causes the crash; however, keeping it false doesn't crash you, but also doesn't show the Infected. As always, if I am just over looking something please let me know. Thank you.

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 10
Category
General
Steps To Reproduce

Create a scripted menu of some kind, and use CreateObject to make an Infected for an ItemPreviewWidget.

Event Timeline