OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: ModestNovice on 30 Aug 2008, 01:29:28
-
SOLVED
just closed dialog, and opened again like I do in my open inventory script.
:D
-
It would help if you describe how your code should work.
What is temp_inv?
Then the for-loop:
You delete on entry at one time, then add (count new_a - 1) entry to the list.
And since the for-loop new_a grows fast.
And as a hint for the future: Please use local variables if there is no need for them outside that script.
-
righto thx i0n0s.
temp_inv is another array.
-
There is a command, lbClear (http://www.ofpec.com/COMREF/index.php?action=list&game=All&letter=l#179), that deletes all the current entries of a listbox.
Also, when you "solve" a question, please don't delete the original question. It stops other people from being able to learn from your experience.