Force player to drop
Posted Jun 15, 2011
Hi,
how can I force the player to drop the object he's holding?
how can I force the player to drop the object he's holding?
Now I issue "+use, -use" commands, but if you know otherwise...
Registered users don’t see ads!
Register now!
Posted Jun 15, 2011
Replied
15 minutes
later
I suppose you could parent a phy explosion to the object, but that wouldn't really give the EFFECT of dropping. And I'm not so sure phys explosion has parenting. If the -use works for you, you should probably use it.
Posted Jun 15, 2011
Replied
5 hours
later
yep, it's not bad but fails when the player doesn't hold an object, since forcing the drop this way actually make him pick it up if it's near.
Posted Jun 15, 2011
Replied
30 minutes
later
Have you considered actually just forcing the player to leave the box on a button or something like that? Portal is a puzzle game and it's usually best to solve stuff with puzzles instead of doing something weird like making the box simply get released.
I think some context into what you're trying to do will get you a better answer than asking how to do your specific implementation.
I think some context into what you're trying to do will get you a better answer than asking how to do your specific implementation.
Posted Jun 16, 2011
Replied
10 hours
later
Nope, it's part of a new mechanic, but thanks anyway
Posted Jun 16, 2011
Replied
6 minutes
later
You could use a point_clientcommand and trigger an output to -use at a certain spot (OnTrigger, point_clientcommand Command -use)
Registered users don’t see ads!
Register now!
Posted Jun 16, 2011
Replied
2 hours
later
You can't input -use only, "+use, -use" works.
I'll post a different solution.. if I find one.
I'll post a different solution.. if I find one.