PDA

View Full Version : Action_ShootTarget


DamonDanes
17th Mar 2005, 11:10 AM
Hie everybody!

I work on a project of a 3rd person shooter action game. We are programming on the Unreal Engine 2. :)
We have created our own Pawn and our own Enemies extended from RTPawn. I got the Aiscripts to do for the enemies, but they do not shoot! :(

I have a problem with the action Action_ShootTarget of the scripted sequence. I know that this action must make shoot the NPC, but where should I code the fire function this action is going to use? Which name this function must have?

"I use the action SetViewTarget to set the target of the shoot"

Thanks for answering if you have any idea. :D