(0) vs. 0

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
P1ayer27
Posts: 203
Joined: Fri Aug 14, 2009 10:05 pm

(0) vs. 0

Post by P1ayer27 »

Is there a difference between setting a projectile to have 0 damage as opposed to it having (0)? I know parenthesis usually negate any randomization, and 0 should never be randomized anyway, but I just want to make sure.
User avatar
DBThanatos
Posts: 3101
Joined: Fri Apr 14, 2006 3:17 pm
Location: in "the darkness that lurks in our mind"

Re: (0) vs. 0

Post by DBThanatos »

Well, nothing AFAIK. Puting "0" means it will go 0*(random(1,8)), which equals zero in any case. "(0)" just skips the multiplying part.
Locked

Return to “Editing (Archive)”