Quantcast
Channel: ZDoom
Viewing all articles
Browse latest Browse all 3391

Feature Suggestions [GZDoom] • Re: Pain chance factor on weapons

$
0
0
This is a "just" tier solution but here's how you can legally hack it:

Code:

// Do this on a puff or projectile.override void BeginPlay(){Super.BeginPlay();if(random(1, 100) <= 40) // 40% chance to commit pain, which of course stacks on top of any current painchances. Edit to fit your needs.{bFORCEPAIN = true;}}

Statistics: Posted by Zhs2 — Thu May 02, 2024 8:59 pm



Viewing all articles
Browse latest Browse all 3391

Trending Articles