What I mean is, if you have a character that can pick up stuff and hes overlapping 2 boxes (The actives), how do you make him only to take 1 box? Because if you do the overlapping he obviously takes them both. I guess it has something to do with fixed values or something but I would like an example or something since I can't get it to work .
Well I tried the "A is over B" and it worked! But then I can't pickup objects that arent over another object. I tried to create duplicate actions with the "A is over B" negated, but then when I try to pick up it just creating new objects :/
EDIT:!
I got it working! I just need to create duplicate actions without the "A is over B" and it worked ! Thanks so much for the help
But it wont work if there are 3 objects on top of eachother, then it will take 2 objects and leave 1 alone :/
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
23rd May, 2009 at 00:40:41 -
Upon Pressing "Space"
+ Player is overlapping Box A
+ Pick a box A at random
> Destroy.
This selects all the boxes that the player is overlapping and then it narrows down the selection to just one of the boxes at random out of the ones he is overlapping.
EDIT: Note that the order of the conditions is extremely important. "Pick a Box A at random" must be last.
Originally Posted by Assault Andy Upon Pressing "Space"
+ Player is overlapping Box A
+ Pick a box A at random
> Destroy.
This selects all the boxes that the player is overlapping and then it narrows down the selection to just one of the boxes at random out of the ones he is overlapping.
EDIT: Note that the order of the conditions is extremely important. "Pick a Box A at random" must be last.
Okay but I only see "Pick an object at random", there is no condition for "pick a Box A at random". :/
Btw tried the "Pick an object at random" and it works the same way, if there are 3 boxes if takes 2 and leave one alone :/