Skip to content

WebDurationVariation

The number of frames the web duration is shifted at random in either direction.

Specification
Applies to
WarheadType
File
rules.ini
Section
[<ObjectType ID>]
Value
integer
When omitted
25

Each webbed soldier draws a whole number between minus and plus this figure, inclusive, and that shift is added to WebDuration. The built-in 25 therefore spreads a web across a range of just over three seconds, which is what keeps a group of soldiers caught by one shot from breaking loose together. A figure of 0 gives every soldier the same wait.

rules.ini
[MyWebWH] ; example WarheadType
Webby=yes
Particle=MyWebSys ; example ParticleSystemType
WebDuration=600
WebDurationVariation=90 ; each soldier waits 34 to 46 seconds

The sign makes no difference: the two ends of the range are put in order before the draw, so a negative figure behaves exactly as its positive counterpart.

The setting is read only while Webby=yes stands in the same section.

See alsoWebby, WebDuration