PDA

View Full Version : Preventing players from firing


BlackHornet
7th Aug 2003, 02:30 AM
I have a PlayerController state
PlayerWaitingForRound, which is called at the beginning of each round. It is used for a freeze time (to buy/get your equipment).
I dont know why, but i can Shoot while while in state.
I defined exec function Fire(); exec function AltFire();, but can shoot. Where the Fire function is called. PC obviously not.
Please help, player shouldnt shoot in buy time

BlackHornet
7th Aug 2003, 02:39 AM
ok wormbo.....thx for the split...

BlackHornet
12th Aug 2003, 02:03 AM
got it....

Pawn.bNoWeaponFiring

luciano.bargmann
12th Aug 2003, 11:00 AM
Take a look at the Firing chain of events in http://wiki.beyondunreal.com/wiki/How_UT2003_Weapons_Work/Firing_A_Weapon

There is a nice flow chart in Projectile weapons ;)

BlackHornet
12th Aug 2003, 11:55 PM
thx anyway, but that "easy" things i dont need anymore ;)