View Full Version : Gatling use

01-30-2010, 07: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, 09: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, 09: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, 09: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, 10: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.

01-30-2010, 12:01 PM
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".