HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Move item on selection?

08-01-2006, 12:07 AM#1
Valdez
Well it's slightly hard to explain but I can't figure out how to do it and I want to if it is even possible.

I'ma making a capture the flag game and what I'm trying to do is make it so when a opposing player drops their flag a person on their team can walk up and select the flag and have it return to the base.

I know u can do this by when they pick up the flag and then have a trigger remove it from their inventory and then place it at the base, but what if their inventory is full? Also I don't want to do it that way because I'm not shure if that would mean I would have to redo my variable that the flag is set for, as that would create lag, a longer loading time, and take more triggers..so yea, any help is appreciated.

Thanks,
~Valdez
08-01-2006, 12:18 AM#2
SFilip
well how about making 2 versions of the flag: one that activates itself when you pick it up (tome-like) and one normal that stays in your inventory? then you make a trigger that adds the real flag when you use the fake one if you are from the opposite team or creates a new flag on its original place if you are the team that's supposed to guard it. also a trigger that would turn the normal flag to the fake one when you drop it/kill the one that has it.
08-01-2006, 12:23 AM#3
PipeDream
TIMTOWTDI, but
On smart order with flag as target widget, if unit is on the right team, move item back to base and pause stop unpause unit
08-01-2006, 01:39 AM#4
Valdez
SFlip- I guess that would work but like I said I don't wanna have to reset all the variables for the flag witch are required to score and plus that would take a couple of triggers just to accomplish.

PipeDream- Um, you lost me...could you please re-phrase that in a way I can actually understand what you mean.