huge feature's collision goin wrong - Page 2

huge feature's collision goin wrong

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: huge feature's collision goin wrong

Post by knorke »

if it works it is good.
i would have done the

Code: Select all

local hor_b_d = true --dead? to prevent recursion, but still could be better prevention?
part a bit different but dont see any major mistakes with it.

you actually do not have to declare variables in Lua like ie local defID if you are only going to use them much further down. Matter of taste I guess.
wolas
Posts: 112
Joined: 30 Jul 2010, 20:40

Re: huge feature's collision goin wrong

Post by wolas »

Well it is true since there a lot of checks when it must be true so I dont have to do !false. If nobody see's any major flaws will release map sunday I think.
Post Reply

Return to “Game Development”