because i thougt that the if command should be used like this:
- Code: Select all
if(sub = 5){
ChangeAnimation("player", "submarine", FORWARD);
DestroyActor("water");
}
if(sub = 5){
ChangeAnimation("player", "submarine", FORWARD);
DestroyActor("water");
}
Users browsing this forum: No registered users and 1 guest