ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 2948

Scaleform help

by Darrenliu15 - 12-10-2019 - 05:25 AM
#1
everytime i try to use 

Code:
GRAPHICS::REQUEST_SCALEFORM_MOVIE("TEXTFIELD");


to draw the infoText box, it is out of position.

for example if optioncount is 1 it will not draw under the end of the menu no matter what

can someone help me with this man?
Reply
#2
option count - 1

So simple
Reply
#3
this is not what i mean!

i try what you suggest and no work

https://imgur.com/a/SusM9Fm check this out

(12-10-2019 - 10:26 AM)PhucedMODZ Wrote: option count - 1

So simple
Reply
#4
post code so I can fix it
Reply
#5
(12-11-2019 - 02:26 AM)figgetWigget Wrote: post code so I can fix it

Code:
redacted

thank you man!
Reply
#6
You need to edit the x and y positions to align it:

Box:
GRAPHICS::DRAW_SCALEFORM_MOVIE(BOTTOMTEXT, XPOS+ 0.0075f, (((maxOptions + 1) * 0.035f) + 0.702f), 0.225f + 0.014f, 1.0f, 255, 255, 255, 255, 0);

LINE:
GRAPHICS::DRAW_RECT(XPOS, (((maxOptions + 1) * 0.035f) + 0.702f), 0.225f, .003, 255, 255, 255, 255);
[Image: a8keeuutawx01.gif]
Reply
#7
yes i know but i cannot figure out the right numbers to use!

it will work for one option but not the rest! i have tried many combinations and it dont work

(12-11-2019 - 03:32 AM)iLLuminder Wrote: You need to edit the x and y positions to align it:

Box:
GRAPHICS::DRAW_SCALEFORM_MOVIE(BOTTOMTEXT, XPOS+ 0.0075f, (((maxOptions + 1) * 0.035f) + 0.702f), 0.225f + 0.014f, 1.0f, 255, 255, 255, 255, 0);

LINE:
GRAPHICS::DRAW_RECT(XPOS, (((maxOptions + 1) * 0.035f) + 0.702f), 0.225f, .003, 255, 255, 255, 255);
Reply
#8
firstly i see your using this from psyschosis source, so stop leeching stuff, secodnly i was going to help you,but now that i know your leeching im not gonna!
Reply
#9
i can tell you that i never heard of that menu lol

nor is it anywhere on this forum that i can see
Reply
#10
(12-11-2019 - 05:02 AM)Darrenliu15 Wrote: yes i know but i cannot figure out the right numbers to use!

it will work for one option but not the rest! i have tried many combinations and it dont work

(12-11-2019 - 03:32 AM)iLLuminder Wrote: You need to edit the x and y positions to align it:

Box:
GRAPHICS::DRAW_SCALEFORM_MOVIE(BOTTOMTEXT, XPOS+ 0.0075f, (((maxOptions + 1) * 0.035f) + 0.702f), 0.225f + 0.014f, 1.0f, 255, 255, 255, 255, 0);

LINE:
GRAPHICS::DRAW_RECT(XPOS, (((maxOptions + 1) * 0.035f) + 0.702f), 0.225f, .003, 255, 255, 255, 255);

Unfortunately there is no way to give you an exact number, the screen orientation depends on your base. You need to slowly edit until you find it. Search for float x and float y on these natives and edit them.

Box x = 0.0075f, y = 0.702f.

Edit these values ​​for more accurate adjustment.
[Image: a8keeuutawx01.gif]
Reply

Users browsing: 1 Guest(s)