View Full Version : Gatling use
01-30-2010, 06:00 AM
How can I dismount the player from a gatling?
The problem is that he has to appear at another location after he killed enemies with the gatling, but because he uses it, he don't get away. So he has to "unuse" the gatling first. How can I do that?
01-30-2010, 08:17 AM
you can use act_ActorGetInOut to force the player to stop using the gatling. Set up a trigger so that when all enemies are killed it uses this action.
01-30-2010, 08:39 AM
Thanks a lot! That's exactly what I needed. I will try it in some minutes but I think that should work.
01-30-2010, 08:56 AM
Btw, is there any action you can use to block the players inventory --> cannot take any weapons from dead enemies or from just lying around any more?
01-30-2010, 09:16 AM
not that i know of. you can make it so that enemies will not drop weapons by checking blocked true under inventory_object for the ai's weapon. you can also change the class of weapons lying around to modelobject and then they will be unusable.
There is no way to block picking up weapons without ingerating in source code. The best idea will be to turn OFF "CanDropWeapon" and "CanDropAmmo".