Buffs = {
Add = {
OnImpact = true,
},
AppliedToTarget = true,
BuffType = 'STUN',
Duration = 2,
Radius = 10,
TargetAllow = 'MOBILE',
},
WARNING: Error running OnImpact script in Entity at 15c06800: attempt to use as string a nil value
stack traceback:
[C]: in function `ParseEntityCategory'
...faforever\gamedata\lua.nx2\lua\sim\collisionbeam.lua(340): in function `DoUnitImpactBuffs'
...faforever\gamedata\lua.nx2\lua\sim\collisionbeam.lua(276): in function `OnImpact'
...iance\gamedata\lua.scd\lua\defaultcollisionbeams.lua(467): in function <...iance\gamedata\lua.scd\lua\defaultcollisionbeams.lua:458>
# Buffs (Stun, etc)
if targetEntity and IsUnit(targetEntity) then
self:DoUnitImpactBuffs(targetEntity)
end
Statistics: Posted by Dudekahedron — 06 Oct 2016, 22:15