I've got a projectile. I want it to lay a bomb when it hits the ground.
PHP Code:
putnpc2(params[0], params[1], "join(\"bomb\");");
It should work, as far as I can tell. However, I get this error crap.
PHP Code:
Script compiler output for Control-NPC:
error: unexpected token: bomb at line 557: bomb\"";"");"
error: missing semicolon at line 557: bomb\"";"");"
error: unexpected token: \ at line 557: bomb\"";"");"
error: unexpected token: ) at line 557: bomb\"";"");"
error: unexpected token: " at line 557: bomb\"";"");"
error: unexpected token: SPC at line 557: bomb\"";"");"