diag resetShapes: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{DISPLAYTITLE:diag_resetShapes}}
{{DISPLAYTITLE:diag_resetShapes}}
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3Diag |Game name=
| arma3Diag |Game name=
Line 8: Line 7:


|gr1= Diagnosis |GROUP1=
|gr1= Diagnosis |GROUP1=
____________________________________________________________________________________________


| Reload models on-the-fly without the need of restarting the game. Changes applied by diag_resetShapes are applied to all new entities so restart of mission is not necessarily  required - spawning vehicle again or changing back forth weapon should usually do the trick. It works only with "-FilePatching" in combination with local data. Command will reload '''only''' models present in local data.
| Reload models on-the-fly without the need of restarting the game. Changes applied by diag_resetShapes are applied to all new entities so restart of mission is not necessarily  required - spawning vehicle again or changing back forth weapon should usually do the trick. It works only with "-FilePatching" in combination with local data. Command will reload '''only''' models present in local data.
Line 14: Line 12:
<br>
<br>
Limitation - you can't reload cfgSkeletons (Which is inside model.cfg)|DESCRIPTION=
Limitation - you can't reload cfgSkeletons (Which is inside model.cfg)|DESCRIPTION=
____________________________________________________________________________________________


| [[diag_resetShapes]] |SYNTAX=
| [[diag_resetShapes]] |SYNTAX=


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>[[diag_resetShapes]]</code> |EXAMPLE1=
|x1= <code>[[diag_resetShapes]]</code> |EXAMPLE1=
____________________________________________________________________________________________


|  |SEEALSO=
|  |SEEALSO=

Revision as of 01:41, 17 January 2021


-wrong parameter ("arma3Diag") defined!-[[:Category:Introduced with arma3Diag version 1.70|1.70]]
Hover & click on the images for description

Description

Description:
Reload models on-the-fly without the need of restarting the game. Changes applied by diag_resetShapes are applied to all new entities so restart of mission is not necessarily required - spawning vehicle again or changing back forth weapon should usually do the trick. It works only with "-FilePatching" in combination with local data. Command will reload only models present in local data.

Limitation - you can't reload cfgSkeletons (Which is inside model.cfg)
Groups:
Diagnosis

Syntax

Syntax:
diag_resetShapes
Return Value:
Nothing

Examples

Example 1:
diag_resetShapes

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

[[Category:Introduced with arma3Diag version 1.70]][[ Category: arma3Diag: New Scripting Commands | DIAG RESETSHAPES]][[ Category: arma3Diag: Scripting Commands | DIAG RESETSHAPES]]

Notes

Bottom Section