array for positioning in a button

Posted By: oldschoolj

array for positioning in a button - 09/27/07 15:08

Hello,

Are we not allowed to use arrays to position a button. I recieve a syntax error with this:
button = (ui_inv_slot_replacex_array[0], ui_inv_slot_replacey_array[0], image1_on, image1_off, image1_over, NULL, NULL, NULL);

Thanks for the help
Posted By: Fenriswolf

Re: array for positioning in a button - 09/28/07 07:58

Hi,

this works only with the new 2d features that are described in the forecast:
Quote:

Panel elements can use var instead of fixed numbers for all parameters.




But for the moment you can use pan_setopos as well.
© 2023 lite-C Forums