• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved doCreateItem fire field not decay to

LuisPro

World War <3
Joined
May 10, 2009
Messages
425
Solutions
1
Reaction score
53
When i add:
doCreateItem(1492,1,{x=105, y=85, z=7})
to my script.
It will create fire wall and all is ok but this fire wall not changing his stage (decay to - 120 sec) :/

Fields from fire bomb etc works well
this situation is only when i create field by doCreateItem
Someone know why?

BTW.
<item id="1492" article="a" name="fire field">
<attribute key="type" value="magicfield"/>
<attribute key="decayTo" value="1493"/>
<attribute key="duration" value="120"/>
<attribute key="field" value="fire">
<attribute key="damage" value="20"/>
<attribute key="ticks" value="10000"/>
<attribute key="count" value="7"/>
<attribute key="damage" value="10"/>
</attribute>
</item>
And yes, i have 100% sure this is this normal fire field from runes, not this static one
 
Don't know much old distros, but wouldn't it be like that?

Code:
local fireField = doCreateItem(1492,1,{x=105, y=85, z=7})
if fireField then
   doDecayItem(fireField.uid)
end
Correct me if I'm wrong. :p
Looks good if it's for the older versions.

Just in case someone comes through here with the same problem using 1.x

Code:
item:decay()
 
local fireField = doCreateItem(1492,1,{x=105, y=85, z=7})
doDecayItem(fireField)

^ works well here, TY guys!
 
Last edited:
Back
Top