N
Nathan
Guest
Here is the code I need to alter :
if (variable01 != "fire")
{
sprite_index = default_sprite;
}
I need this to be come if variable01 is 'fire' OR 'water' then change the sprite index. How do you make it into an 'or' statement? I couldn't find an example of this. Thanks!
if (variable01 != "fire")
{
sprite_index = default_sprite;
}
I need this to be come if variable01 is 'fire' OR 'water' then change the sprite index. How do you make it into an 'or' statement? I couldn't find an example of this. Thanks!