Usecoding the Met flag

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
Mighty Dog

Usecoding the Met flag

Post by Mighty Dog »

Can anyone out there tell me how to have my usecode script:
1) Set the Met flag
2) Check the bolean value of the Met flag.

I really need this piece of info and i've given myself a headache trying to figure it out all day
drcode
Site Admin
Posts: 2267
Joined: Thu May 14, 2020 1:34 pm

Re: Usecoding the Met flag

Post by drcode »

I think the routines are "UI_set_item_flag()" and "UI_get_item_flag()", and the flag # itself is listed in "obj/flags.h".
Locked