Damage by ID name not type

PS_VITA

Active member
Has anyone tried making a script that enables damage to be given or recieved by ID name not type?

For example,  imagine a tank that can only be hurt by bombs and not the players punches or any other attack.

 
Normally you'd just use attack types - that's what they're for. There are a lot more settings than just damage taken. You can no-sell incoming attacks or even heal from them with the right configuration.

Now if you want to start getting super complex with it and don't want to wind up with 50 different attack types for every situation, that's where the doattack event comes in. See video below. It also includes some sample code.


DC
 
Damon Caskey said:
Normally you'd just use attack types - that's what they're for. There are a lot more settings than just damage taken. You can no-sell incoming attacks or even heal from them with the right configuration.

Now if you want to start getting super complex with it and don't want to wind up with 50 different attack types for every situation, that's where the doattack event comes in. See video below. It also includes some sample code.


DC

Thanks,  although I won't be using do attack,  your comments made me realize I have several options at my disposal. I just need to sit down and figure out which option is best and most optimized for my task.
 
Back
Top Bottom