You are viewing our Forum Archives. To view or take place in current topics click here.
[Mini Release] Working Scrolling Instruction Code | Video
Posted:

[Mini Release] Working Scrolling Instruction Code | VideoPosted:

iHax_XeX
  • Wise One
Status: Offline
Joined: Oct 23, 201013Year Member
Posts: 582
Reputation Power: 35
Status: Offline
Joined: Oct 23, 201013Year Member
Posts: 582
Reputation Power: 35
Working Scrolling Text Instructions

So I was just messing around with my new WaW project and i thought about re-inventing the scrolling code at the bottom of the screen. I thought there had to be a much more simple way and there was. This is what i came up with:

Instructions(){
   Instruct = self createfontstring("default", 1.5, self);
   Instruct.sort = 15;
   Instruct setPoint("RIGHT", "BOTTOM", 1500, -25);
   Instruct settext("Press [{melee}] To Open/Close The Menu -- Press [{+attack}][{+speed_throw}] To Navigate The Menu -- Press[{+frag}] To Go To Previous Menu -- Press[{+usereload}] To Select");
   while(1){
      Instruct setPoint("LEFT", "BOTTOM", -1500, -25, 25);
      wait 20;
      Instruct setPoint("RIGHT", "BOTTOM", 1500, -25, 25);
      }
   wait 1;
}


This can be used with any menu. All you need to do is change the button symbols to match your menu. The length and timing is perfect so you don't have to worry about that. Also this code will not overlap like the other scrolling text code.

Enjoy!


Last edited by iHax_XeX ; edited 2 times in total

The following 2 users thanked iHax_XeX for this useful post:

TTG_iRaaTeD (03-21-2011), coolbunny1234 (03-21-2011)
#2. Posted:
WaWMoDzXBL
  • Junior Member
Status: Offline
Joined: Mar 06, 201113Year Member
Posts: 67
Reputation Power: 2
Status: Offline
Joined: Mar 06, 201113Year Member
Posts: 67
Reputation Power: 2
Awesome thanks Bro...
#3. Posted:
iHax_XeX
  • Wise One
Status: Offline
Joined: Oct 23, 201013Year Member
Posts: 582
Reputation Power: 35
Status: Offline
Joined: Oct 23, 201013Year Member
Posts: 582
Reputation Power: 35
Updated with a video
#4. Posted:
WaWMoDzXBL
  • Junior Member
Status: Offline
Joined: Mar 06, 201113Year Member
Posts: 67
Reputation Power: 2
Status: Offline
Joined: Mar 06, 201113Year Member
Posts: 67
Reputation Power: 2
Cool thanks bro im trying to start making a whole new patch with new ideas this will come in handy.
#5. Posted:
lowie
  • TTG Senior
Status: Offline
Joined: Dec 23, 200914Year Member
Posts: 1,277
Reputation Power: 63
Status: Offline
Joined: Dec 23, 200914Year Member
Posts: 1,277
Reputation Power: 63
nice one bro good work
#6. Posted:
VeNoMxMoDz
  • TTG Addict
Status: Offline
Joined: Oct 23, 201013Year Member
Posts: 2,323
Reputation Power: 133
Status: Offline
Joined: Oct 23, 201013Year Member
Posts: 2,323
Reputation Power: 133
thanks bro im gonna put this in my new patch
#7. Posted:
dansmith94
  • Challenger
Status: Offline
Joined: Mar 17, 201113Year Member
Posts: 121
Reputation Power: 4
Status: Offline
Joined: Mar 17, 201113Year Member
Posts: 121
Reputation Power: 4
where do i put this ?

and wen i put stuff in itgoes over the file size it was, does that matter? PM Me please

can you teamviewer me to do it?
#8. Posted:
iHax_XeX
  • Wise One
Status: Offline
Joined: Oct 23, 201013Year Member
Posts: 582
Reputation Power: 35
Status: Offline
Joined: Oct 23, 201013Year Member
Posts: 582
Reputation Power: 35
dansmith94 wrote where do i put this ?

and wen i put stuff in itgoes over the file size it was, does that matter? PM Me please

can you teamviewer me to do it?


Just self thread this where you thread all the functions that are initiated when you spawn. Also, this does go over the shader or any text. If it doesn't just increse the .sort (aka alpha).
#9. Posted:
TramuH
  • Prospect
Status: Offline
Joined: Jul 25, 201013Year Member
Posts: 604
Reputation Power: 36
Status: Offline
Joined: Jul 25, 201013Year Member
Posts: 604
Reputation Power: 36
Thanks for the coding, i going to put it im my menu
#10. Posted:
ShortyModz
  • TTG Contender
Status: Offline
Joined: Feb 16, 201113Year Member
Posts: 3,193
Reputation Power: 173
Status: Offline
Joined: Feb 16, 201113Year Member
Posts: 3,193
Reputation Power: 173
awesome iHaxXeX im gunna thread this right now 8)
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.