#read strings as code
1 messages · Page 1 of 1 (latest)
the answer is you can't, instead you should use a function
return array_contains(player.inventory, "key");
}```
and how i run it in the step event?
It's a method
// Step event
show_debug_message(requirement());
As long as it's the instance that has defined requirement, then they can use it
with it having a return like my example, you can do if requirement() { //do stuff if requirement came back true }