Jump to content

setWeaponProperty quick question- "flag_shot_anim_abrupt"


eveneme

Recommended Posts

Hi,

I'd like to see the difference between this flag enabled/disabled. I did read the wiki page but I'm not sure if:

1. it is enabled or disabled by default?

2.this is correct usage?  =>  setWeaponProperty(24, "pro", "flags", 0x040000) - I've tried but it doesn't seem to change anything.

 

thanks

 

 

Edited by eveneme
Link to comment

nevermind, I figured this out the correct usage is

setWeaponProperty(24, "pro", "flags", 0x040000, true)



I got confused because wiki says "flags" - int then it says flag_shot_anim_abrupt" - bool and in example usage part says

 

setWeaponProperty(23, "pro", "flags", 0x000800) -- Warning - Depends on the current flag setting
setWeaponProperty(23, "pro", "flags", 0x000002) -- Warning - Depends on the current flag setting

 

but I still cannot see the difference between this flag enabled or disabled so feel free to enlighten me :D

Edited by eveneme
Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...