0 Members and 1 Guest are viewing this topic.
_array = [];_array=_array + [_thing1];_array=_array + [_thing2];_array=_array + [_thing3];// (_array select 1) is _thing2
_name = "Doodle";_array = ["Doodle", 146, lollerskates];_nr = _array find _name;hint format ["%1 is number %2 in the array %3", _name, _nr, _array];
_array = ["A", "B", "C"];_index = _array find "C";// _index = 2
_array = ["A", "B", "C"];_index = _array find "H";// _index = -1