Ah, I understand it now! Much thanks for the explaination Chris
Edit:
Okay, as for the putnpc2 thing, i'm still having trouble.
I got:
PHP Code:
function onWeaponFired()
{
if(player.bombs>0){
play("put.wav");
player.bombs--;
if (player.dir == 0) {
with(putnpc2(player.x + 0.5, player.y - 1, "")){
join("firebomb");
}
}
else if (player.dir == 1) {
with(putnpc2(player.x - 1.5, player.y + 1, "")){
join("firebomb");
}
}
else if (player.dir == 2) {
with(putnpc2(player.x + 0.5, player.y + 2.5, "")){
join("firebomb");
}
}
else if (player.dir == 3) {
with(putnpc2(player.x + 2.5, player.y + 1, "")){
join("firebomb");
}
}
}
}
Since using the other way didnt work. Clientsiding only plays the wav, and nonclientsiding won't trigger the onWeaponfired function.
So i'm still stuck in the same place
