Page MenuHomeFeedback Tracker

Using "setSlingLoad" command in the init field of a unit returns an error.
Closed, ResolvedPublic

Description

The "setSlingLoad" command returns an error in the init field but works fine when using the debug console.

Details

Legacy ID
3998940634
Severity
None
Resolution
No Bug
Reproducibility
Always
Category
Editor
Steps To Reproduce
  1. Open the Editor.
  1. Make a mission with a transport helicopter and a quadbike and give both units a name
  1. Enter "heliName setSlingLoad quadName" into the init field of either unit.
  1. The editor returns an error.

Event Timeline

JanJoris edited Steps To Reproduce. (Show Details)Sep 28 2014, 5:42 PM
JanJoris edited Additional Information. (Show Details)
JanJoris set Category to Editor.
JanJoris set Reproducibility to Always.
JanJoris set Severity to None.
JanJoris set Resolution to No Bug.
JanJoris set Legacy ID to 3998940634.May 7 2016, 7:30 PM

Hello,
thanks for the report. You have to set variable for the command to work:
"JanJoris = heliName setSlingLoad quadName"

This behavior is usual for other commands, too.
E.g.: "damage = damage player;"

Closing as No Bug.

Mass-closing all resolved issues not updated in the last month.

Please PM me in BI Forums (http://forums.bistudio.com/member.php?55374-Fireball) if you feel your bug was closed in error.