ALiVEOS / ALiVE.OS

ALiVE Open Source GPL v2
http://alivemod.com/
Other
157 stars 80 forks source link

Error in C2ISTAR Tasks Dialogue #457

Closed friznit closed 6 years ago

friznit commented 6 years ago

Prerequisites

Description

14:38:48 File \x\alive\addons\mil_C2ISTAR\fnc_C2ISTAR.sqf [ALiVE_fnc_C2ISTAR], line 4070
14:38:49 Error in expression <Text ctrlSetText "";

if (_autoGenerate == "Constant" || _autoGenerate == "None">
14:38:49   Error position: <== "Constant" || _autoGenerate == "None">
14:38:49   Error ==: Type Bool, expected Number,String,Not a Number,Object,Side,Group,Text,Config entry,Display (dialog),Control,Network Object,Team member,Task,Location

Steps to Reproduce

  1. Place C2ISTAR with Auto Tasks enabled
  2. Open C2ISTAR menu in game

Expected behavior: Menu opens with no errors

Actual behavior: Error as above

image

Arma3_x64_2017-10-27_13-05-41.zip

highhead commented 6 years ago

i cannot replicate that. Mission attached... basic_test.Stratis.zip

friznit commented 6 years ago

Occurs when you try to disable autogenerated tasks. Regression caused by the addition of strategic vs tactical mission types.