but apparently i just dont have it anymore and need help.
I have set item # 47476 as usable, so when i right click it i can use it, i have also issigned a script to the item, i made it very sipmple for now, once i get it working, i will add more to dismount if already mounted, etc.
so when i right click the item and select use. nothing appears to happen, i debug it and it doe show the script executeing and the setmount funtion executing, and then i get lost and get timed out on client during my stepping,
what am i missing, should i select a different model id?
Code: Select all
--[[
Script Name : ItemScripts/GenericMount.lua
Script Purpose : Use a mount
Script Author : Ememjr
Script Date : 9/18/2017
Script Notes : Halasian Draft Horse item id's 46615,46616
use will mount/dismount
examine has option to convert to house item
--]]
function used(Item, Player)
SetMount(Player, 6828)
end