NiceLoki Posted November 4, 2013 Author Share Posted November 4, 2013 Hi…. well.... I want to move Stat buttons on EFF.... but, the code for rendering stats is:``` If GetPlayerPOINTS(MyIndex) > 0 Then ' draw the buttons For buttonnum = 16 To 20 x = GUIWindow(GUI_CHARACTER).x + Buttons(buttonnum).x y = GUIWindow(GUI_CHARACTER).y + Buttons(buttonnum).y Width = Buttons(buttonnum).Width Height = Buttons(buttonnum).Height ' render accept button If Buttons(buttonnum).state = 2 Then ' we're clicked boyo Width = Buttons(buttonnum).Width Height = Buttons(buttonnum).Height 'EngineRenderRectangle Tex_Buttons_c(Buttons(buttonnum).PicNum), x, y, 0, 0, width, height, width, height, width, height RenderTexture Tex_Buttons_c(Buttons(buttonnum).PicNum), x, y, 0, 0, Width, Height, Width, Height ElseIf (GlobalX >= x And GlobalX <= x + Buttons(buttonnum).Width) And (GlobalY >= y And GlobalY <= y + Buttons(buttonnum).Height) Then ' we're hoverin' 'EngineRenderRectangle Tex_Buttons_h(Buttons(buttonnum).PicNum), x, y, 0, 0, width, height, width, height, width, height RenderTexture Tex_Buttons_h(Buttons(buttonnum).PicNum), x, y, 0, 0, Width, Height, Width, Height ' play sound if needed If Not lastButtonSound = buttonnum Then PlaySound Sound_ButtonHover, -1, -1 lastButtonSound = buttonnum End If Else ' we're normal 'EngineRenderRectangle Tex_Buttons(Buttons(buttonnum).PicNum), x, y, 0, 0, width, height, width, height, width, height RenderTexture Tex_Buttons(Buttons(buttonnum).PicNum), x, y, 0, 0, Width, Height, Width, Height ' reset sound if needed If lastButtonSound = buttonnum Then lastButtonSound = 0 End If Next End If ' draw the equipment DrawEquipmentEnd Sub```What do i have to edit for moving it? thanks X_X this is DX8 btw Link to comment Share on other sites More sharing options...
Growlith1223 Posted November 4, 2013 Share Posted November 4, 2013 definitely nothing in that area >_>Look for a sub in ModGeneral around the name of InitialiseGUI. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now