1 decade ago
by Nathre
I have a player who sets bombs (not a terrorist) but the bombs are just objects that don't check againt no one. The explosion does and i try to call it from the bomb's code . I get this error "EntityBoom is not defined". Bomb and Boom are in the player's code. Do you guys know how to do it right? :s
Why don't you just have the Player spawn a bomb, like the jump n' run shoot spawns a slime greande. Then inside the bomb entity, when a bombTimer set during init () runs down and it explodes, the bomb entity spawns an explosion which can interact with other entities. The bomb will simultaneously call the kill function to destroy and remove itself.
1 decade ago
by Nathre
Quote from Nathre
I have a player who sets bombs (not a terrorist) but the bombs are just objects that don't check againt no one. The explosion does and i try to call it from the bomb's code . I get this error "EntityBoom is not defined". Bomb and Boom are in the player's code. Do you guys know how to do it right? :s
Sorry I found what the problem was :p
1 decade ago
by Nathre
Quote from Kxen
So what was the problem?
Haha, basics xD won't tell you
Page 1 of 1
« first
« previous
next ›
last »