odd_value_val¶
Syntax¶
odd_value_val(value)
Description¶
This function pulls the GameMaker value out of the Value. This should be used instead of directly accessing it.
Example¶
var value = odd_create_value(odd_type_int32, 21);
show_debug_message(string(odd_value_val(value)));
// ...
This would print “21” to the console. Take careful note that value is not used directly, but gets passed through this function first.