Dr_Nomz
Member
Code:
if scr_Info_Quest_Name(ds_list_find_value(global.quest_list,qu)) >= 1 &&
scr_Info_Quest_Name(ds_list_find_value(global.quest_list,qu)) != 100 &&
scr_Info_Quest_Name(ds_list_find_value(global.quest_list,qu)) != -1
if scr_Info_Quest_Name(ds_list_find_value(global.quest_list,qu)) >= 1 &&
scr_Info_Quest_Name(ds_list_find_value(global.quest_list,qu)) != 100 &&
scr_Info_Quest_Name(ds_list_find_value(global.quest_list,qu)) != -1
var value = scr_Info_Quest_Name(ds_list_find_value(global.quest_list,qu);
if (value >= 1) && (value != 100) && (value != -1) {
//do thing
}
var value = scr_Info_Quest_Name(ds_list_find_value(global.quest_list,qu);
if (value >= 1) && (value != 100) {
//do thing
}
var value = scr_Info_Quest_Name(ds_list_find_value(global.quest_list,qu);
var xx = 3;
var yy = 41;
if (value == clamp(value,xx,yy)) {
// Variable "value" is such that xx <= value <= yy
}
var value = sc_Info_Quest....
if(floor(value /100) == 0) {
}
Except in his code he doesn't want zero.I mean, you could just create a script and have it return true or false
honestly though, I like the idea of using floor(val / 100) == 0:
i'd say use div because it's simpler but it doesn't work too well with negatives.Code:var value = sc_Info_Quest.... if(floor(value /100) == 0) { }