mob
verb
change_loc()
loc=locate(pick(1,1,1 && 1,16,1))
Problem description:
how do i make it to choose between either one or another location randomly?
Code:
mob Problem description: how do i make it to choose between either one or another location randomly? |
The && operator is the boolean AND, and doesn't work the way you think it does. It takes the expressions on other side of it and returns TRUE if said expressions also return TRUE, otherwise it returns FALSE.