Prop.setCrateDelay ▲ 10

Available from Easy Red 2 2.1.1

Seconds between two uses of the crate.


Return value

Return TypeDescription
voidThis function doesn't return anything

Parameters

ParameterTypeDescription
1NumberSeconds between two uses.

Examples

A crate with its own content

-- on an ammo crate: it hands out these items instead of ammo, once a minute
myself:setCrateContent({ "ammo_30_06", "droppable_refill_crate" })
myself:setCrateDelay(60)

Back to Scripting API