Is it possible that you can throw the proposed bottle at a unit so it can obtain the "flame" state, and the "flame" state can spread to surrounding objects/units/items via the blast radius?
Forum




Molotov-style script. Possible?
5 replies



Is it possible that you can throw the proposed bottle at a unit so it can obtain the "flame" state, and the "flame" state can spread to surrounding objects/units/items via the blast radius?








first locate where the impact takes place, then start an areal event which has a loop in it which checks whether the object/item/unit which shall be set on fire is in range, if yes, add the fire state.

though the description says that it only works for objects so you'd still need to loop the units and the items if you also want them to catch fire.

all the repetition is done by the

to get the ID of the current unit/item you can use the command

in order to have something to compare with I'd advise you to use the


after all the loops are done you can delete the flag again with




