• 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!

Movements.xml include function and script

OperatorMopa

Member
Joined
Feb 10, 2014
Messages
127
Reaction score
6
Code:
    <movevent event="Equip" itemid="2475" slot="head" function="onEquipItem" script="test.lua">
        <vocation name="Knight" />
        <vocation name="Elite Knight" showInDescription="0"/>
    </movevent>
    <movevent event="DeEquip" itemid="2475" slot="head" function="onDeEquipItem"/>

When i include "script='test.lua'" to an item function "onEquipItem" doesn't execute, and fix for that? Maybe i can somehow execute it via test.lua script?
tfs 1.2
 
Code:
<movevent event="Equip" itemid="2475" slot="head" script="test.lua">
 
Back
Top