OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: The Last Ninja on 28 Jan 2003, 19:45:02
-
how do I get a player to start with just one bullet in his revolver
Thx in advance :-\
-
well i dont think this is possible unless u assign the bullet to be a magazine and if so...then just remove all the mags and add one...any1 else?
-
Well....you could make the AI fire off the other bullets using the 'fire' command, but I cant think how you could transfer that to you...unless you done the drop magazine thing and the player picked it up manually. :-\
Gameer
-
there's a way but it's not very realistic...but it works
Give him only one magazine and make a trigger that checks how much ammo he has left
eg : magazine is 30 bullets
check the ammo and when it is 29 , remove the magazine...
Try
condition : Player ammo "M16" == 29
on activation: Player removemagazine "M16"
hmmm, that should work...