I Will Show You How To Add Image To Mission Background.
Firstly:
questlib.lua Open the file and add at the bottom:
Code:
function setbgimage(src) raw_script("[BGIMAGE src;") raw_script(src) raw_script("]") end
function addimage(x,y,src) raw_script("[IMAGE x;"..x.."|y;"..y) raw_script("|src;") raw_script(src) raw_script("]") end
quest_functions open it and add it at the bottom:
Code:
addimage
setbgimage
etc eix epk open ymir work/ui/game/questboard In the section, we throw a picture of approximately 300x300 size, the picture we will make the background of. If we want to give a picture to the back of the quest later, we do it like this:
Code:
quest lalecinewquest begin
state start begin
when 20092.chat."Laleci" begin
setbgimage('Here we write the name of the picture that we have uploaded to etc picture.tga')
just be careful setbgimage always comes before numbers
I Will Show You How To Add Image To Mission Background.
Firstly:
questlib.lua Open the file and add at the bottom:
Code:
function setbgimage(src) raw_script("[BGIMAGE src;") raw_script(src) raw_script("]") end
function addimage(x,y,src) raw_script("[IMAGE x;"..x.."|y;"..y) raw_script("|src;") raw_script(src) raw_script("]") end
quest_functions open it and add it at the bottom:
Code:
addimage
setbgimage
etc eix epk open ymir work/ui/game/questboard In the section, we throw a picture of approximately 300x300 size, the picture we will make the background of. If we want to give a picture to the back of the quest later, we do it like this:
Code:
quest lalecinewquest begin
state start begin
when 20092.chat."Laleci" begin
setbgimage('Here we write the name of the picture that we have uploaded to etc picture.tga')
just be careful setbgimage always comes before numbers
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.