i want enemy level set 1
and if switch 2 is on enemy level up to 10
so i using this in enemy note
<Custom Starting Level>
if $gameSwitches.value(2) == true {
value = level = 10;
} else {
value = level = 1;
}
</Custom Starting Level>
and
<Custom Starting Level>
level = if $gameSwitches.value(2) == true {
value = 10;
} else {
value = 1;
}
</Custom Starting Level>
it doesn't work too
How should I write it?
and if switch 2 is on enemy level up to 10
so i using this in enemy note
<Custom Starting Level>
if $gameSwitches.value(2) == true {
value = level = 10;
} else {
value = level = 1;
}
</Custom Starting Level>
and
<Custom Starting Level>
level = if $gameSwitches.value(2) == true {
value = 10;
} else {
value = 1;
}
</Custom Starting Level>
it doesn't work too
How should I write it?