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

Lua Vocation to use items?

drullen

New Member
Joined
Aug 5, 2008
Messages
264
Reaction score
1
Location
Piteå, Sweden
Hello, which is the fastest way to change vocations to use for example. donate legs/donate armor etc..?


fast answer please!
 
Well you probably hadn't changed something properly or maybe forgot to close a bracket somewhere or something.
This is an example of how it should look:
Code:
	<movevent type="Equip" itemid="2469" slot="legs" level="120" event="function" value="onEquipItem">
		<vocation id="2"/>
		<vocation id="8" showInDescription="0"/>
		<vocation id="9" showInDescription="0"/>
		<vocation id="10" showInDescription="0"/>
		<vocation id="11" showInDescription="0"/>
	</movevent>
	<movevent type="DeEquip" itemid="2469" slot="legs" event="function" value="onDeEquipItem"/>

If everything is set up properly, I see no reason why it wouldn't work. :p
 
Back
Top