Jump to content

Peds Attacking Vehicles


Recommended Posts

Hi, is there an opcode in VC to make a ped attack a vehicle (with a bat, golf club, bare hands, etc) like some peds do in SA when you crash into theirs? Does anyone recall some instance in Vice where that has been happening?

 

Because before (if) I go write an opcode of my own to do just that, I would like to get confirmation that there is no such thing already in place... smile.gif I skimmed shortly over the opcode databse but didn't find anything.

 

thanks,

Alex

 

 

Link to comment
https://gtaforums.com/topic/276342-peds-attacking-vehicles/
Share on other sites

Blade Nightflame
Hi, is there an opcode in VC to make a ped attack a vehicle (with a bat, golf club, bare hands, etc) like some peds do in SA when you crash into theirs? Does anyone recall some instance in Vice where that has been happening?

 

Because before (if) I go write an opcode of my own to do just that, I would like to get confirmation that there is no such thing already in place... smile.gif I skimmed shortly over the opcode databse but didn't find anything.

 

thanks,

Alex

To my knowledge, I think the Haitians already attack your vehicle (if you're in one) when they're your enemies. Unless you meant a somewhat diffrent kind of thing..?

Link to comment
https://gtaforums.com/topic/276342-peds-attacking-vehicles/#findComment-4212069
Share on other sites

  • 2 weeks later...

To my knowledge, there is no opcode like this in VC; I can't even think of an instance in the game that something like this would be used. Well, outside of Avery's first mission, but that's player controlled.

 

For reference, there is an opcode to do this in SA:

 

 

0672=2,AS_actor %1h% attack_vehicle %2d% 

 

 

Hope this helps. smile.gif

 

P.S. - Hows that fighting style thing coming along? I'd love to use this in a big fight scene I have to shoot. wow.gif

Link to comment
https://gtaforums.com/topic/276342-peds-attacking-vehicles/#findComment-4227060
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.