ID:262005
May 26 2004, 3:34 pm (Edited on Jul 29 2004, 5:06 pm)
|
|
In response to Jon88
|
|
projectiles.dm:46:error:O.health:undefined var
|
In response to Vash_616
|
|
Vash_616 wrote:
projectiles.dm:46:error:O.health:undefined var Instead of plain old O, try doing some typecasting so that the compiler knows that you're talking about a mob. var/mob/M = O Do the typecasting after you've checked if O is a mob, however. |
It removes damage. The question is, though, from who?
Posting help
Try removing the health from O instead of from src(the projectile). You also might want to try using typecasting and periods instead of a semicolon. You'll have less errors later.