Page MenuHomeFeedback Tracker

setDammage command - alternate syntax array not working as setDamage
Need More Info, NormalPublic

Description

The alternate syntax of this command doesn't work.
Ex: cursorObject setdammage [1,false];
returns a generic error, waiting for number instead of array.

cursorObject setDamage [1,false] works.

Details

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

Script or debug console. Just try the setDammage command on an object with the syntax array.

Event Timeline

PiepMGI created this task.Dec 16 2017, 9:08 PM
Wulf changed the task status from New to Need More Info.Dec 18 2017, 7:53 PM
Wulf added a subscriber: Wulf.

Hello.

Thank you for the report. I am testing this command right now on the public build and everything is working as it should, no generic error occurs.

PiepMGI added a comment.EditedDec 18 2017, 9:48 PM

Arma III ver: 1.80 vanilla
Open editor, Tanoa map by default
add a player
add any vehicle (mine was HEMTT fuel but that doesn't matter)
run preview
in debug console:

cursorObject setDammage [1,false]

OK, understood, the debug console proposes setDammage command for auto-completion of the command. setDamage works with alternate syntax but not setDammage. You should remove this old command or make it same as setDamage.

in rpt file:
10:45:38 Error in expression <cursorObject setDammage [1,false]>
10:45:38 Error position: <setDammage [1,false]>
10:45:38 Error setdammage: Type Array, expected Number
10:45:38 Error in expression <cursorObject setDammage [1,false]>
10:45:38 Error position: <setDammage [1,false]>
10:45:38 Error Generic error in expression

Regards

PiepMGI renamed this task from setDamage command - alternate syntax array not working anymore to setDammage command - alternate syntax array not working as setDamage.Dec 18 2017, 9:54 PM
PiepMGI updated the task description. (Show Details)
PiepMGI edited Steps To Reproduce. (Show Details)