[Decorate] A_FireCustomMissile that uses UpgradeAccuracy

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
User avatar
The Philosopher
Posts: 216
Joined: Thu Sep 20, 2018 1:00 pm
Preferred Pronouns: She/Her
Operating System Version (Optional): W10
Location: Santiago, Chile

[Decorate] A_FireCustomMissile that uses UpgradeAccuracy

Post by The Philosopher »

So, im working on a Strife mod currently and im mostly replacing the native functions with the Uzdoom ones like A FireCustomMissile, the thing is i dont know how to get the Accuracy stats to modify things like angle, or pitch the projectile is being fired and i couldnt find more detailed information about it in the Wiki, anyone knows how?

Here is one of the examples i have trouble with

Code: Select all

A_FireCustomMissile("ElectricBoltMKII",frandom(-3.5,3.5),0,0,0,0,frandom(-3.0,3.5))

Return to “Scripting”