ID:908127
 
(See the best response by Kaiochao.)


Problem description:

In my game normally there are only 2 density values 1 and 0. I was wondering if i could add 2 more so that lets say if your density = 3 you can go threw things that have a density of 2.

Because i want to make a skill where people can walkthrew attacks but not threw my walls.
density is a Boolean variable so it's only capable of evaluating as TRUE or FALSE. You'd want to modify Enter() which determines if you can enter something or not.
Best response
And for objs, you'd use Cross() the same way as Enter() for turfs.