Hey, been a long time since I've been around but I figured I"d stop by and ask a quick GM question. It's been awhile since I've used GM and I'm still getting a bit used to Studio and encountered an error importing an old project of mine that I was gonna mess around with.
switch ctrl_menu.slot[16, 0] {
case global.item[15, 1]: scr_weapon_bow() break;
}
It's giving me the error: Case argument should be a constant.
It seems like it's probably something pretty obvious but I'm not really sure what. Anyone know what to do?
Edit: Got it working now, thanks Martijn!