View unanswered posts | View active topics It is currently Sun Aug 09, 2020 12:03 pm

Reply to topic  [ 2 posts ] 
 How to acces curentry Weapon's shot? 
Author Message

Joined: Fri Nov 28, 2014 4:18 am
Posts: 2
Reply with quote
Post How to acces curentry Weapon's shot?
Hello. Nice to meet you.
I making a mod for shoot bullet from cursol pont.
I sucsessed shoot Next Inventory's explosive(i see Mr.cavecricket's script. thanks.)、
but i cant acsess curentry weapon's bullet.

any one know this? tanks.

Mon Dec 01, 2014 6:01 am
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 12659
Location: Here
Reply with quote
Post Re: How to acces curentry Weapon's shot?


Properties you can access are:
Round.FireVel Override by setting AIFireVel (in m/s) on the Round.
Projectile.ClassName The AI may try to shoot through cover if MOPixel.
Projectile.Lifetime Override by setting AILifeTime (in ms) on the Round.


Be sure to check if the magazine is not null first before you try to access NextRound or other properties.

Mon Dec 01, 2014 4:18 pm
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.014s | 17 Queries | GZIP : Off ]