Jump to content
  • 0

On A_FireCustomMissile, How do i randomize projectile position? (On Decorate)


Melonpizza

Question

Hello, While i was making a Flamethrower-ish weapon, i didnt find it good looking how perfectly allinged the pojectiles were, so i wondered how to randomize projectile offsets so it looks more realistic : ), thats it...

Share this post


Link to post

3 answers to this question

Recommended Posts

  • 0

I'd imagine you can do so by using the random() and frandom() expressions in the function's properties - the former for spawnheight, the latter for the horizontal offset.

Share this post


Link to post
  • 0
3 hours ago, MFG38 said:

I'd imagine you can do so by using the random() and frandom() expressions in the function's properties - the former for spawnheight, the latter for the horizontal offset.

Works like a charm, Thank you : )

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...