Hello.
I got problem with my quest on mounts - game 40k, source, i use a txt files.
So, when i use a stamp of my mounts they occur for the moment. After second mount's dissapearing.
And is a another problem. I can set up a two stamps. :|
My quest and item_proto entry.
quest nMount begin
state start begin
function go( vnum, remain_time )
go_info = {
[71123] = { 20125, item.get_socket(2)*60},
[71124] = { 20114, item.get_socket(2)*60},
[71125] = { 20115, item.get_socket(2)*60},
[71126] = { 20116, item.get_socket(2)*60},
[71127] = { 20117, item.get_socket(2)*60},
[71128] = { 20118, item.get_socket(2)*60},
[71129] = { 20119, item.get_socket(2)*60},
[71130] = { 20120, item.get_socket(2)*60},
[71131] = { 20121, item.get_socket(2)*60},
[71132] = { 20122, item.get_socket(2)*60},
[71133] = { 20123, item.get_socket(2)*60},
[71134] = { 20124, item.get_socket(2)*60},
}
pc.mount( go_info[vnum][1], go_info[vnum][2] )
end
when login begin
local vnum, remain_time = pc.get_special_go_vnum()
if 0 != vnum then
nMount.go(vnum, remain_time)
end
end
when 71123.use or 71124.use or 71125.use or 71126.use or 71127.use or 71128.use or 71129 use or 71130.use or 71131.use or 71132.use or 71133.use or 71134.use begin
if pc.is_polymorphed() then
chat("<Wierzchowiec> Nie możesz dosiąść wierzchowca będac przemienionym.")
return
elseif pc.get_armor() >= 11901 and pc.get_armor() <= 11904 then
chat("<Wierzchowiec> Nie można dosiąść wierzchowca w stroju ślubnym.")
return
elseif false == pc.is_riding() then
if true == horse.is_summon() then
horse.unsummon()
end
nMount.go(item.vnum, 0)
else
pc.unmount()
end
end
end
end
item_proto
71124 "71125" "ITEM_UNIQUE" "UNIQUE_SPECIAL_RIDE" 1 " ANTI_STACK" "QUEST_USE_MULTIPLE | LOG" "WEAR_SHIELD" "NONE" 0 0 0 0 0 "LIMIT_NONE" 0 "LIMIT_NONE" 0 "APPLY_ATTBONUS_MONSTER" 20 "APPLY_MAX_HP" 4000 "APPLY_MAX_HP_PCT" 10 10080 0 0 0 0 0 0 0 0
In advance, thanks a lot for help. Cheers. :-)