Raised This Month: $ Target: $400
 0% 

Hud icon coordinates


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SeezySoft
Junior Member
Join Date: Feb 2012
Old 07-08-2012 , 09:34   Hud icon coordinates
Reply With Quote #1

I found this code:

Code:
			new iconstatus;
			iconstatus = get_user_msgid("StatusIcon");  
  
			message_begin(MSG_ONE,iconstatus,{0,0,0},taskid)  
       			write_byte(1); // status (0=hide, 1=show, 2=flash)
        		write_string("rescue"); // sprite name
        		write_byte(0); // red
        		write_byte(255); // green
        		write_byte(0); // blue
       			message_end();

Posible to make coordinates of icon? Now players can see in left side, how to make this one near timer?
SeezySoft is offline
dark_style
Senior Member
Join Date: Jul 2009
Location: Bulgaria
Old 07-08-2012 , 09:55   Re: Hud icon coordinates
Reply With Quote #2

Syntax:

message_begin ( dest, msg_type, origin[3]={0,0,0},player=0 )
dark_style is offline
SeezySoft
Junior Member
Join Date: Feb 2012
Old 07-08-2012 , 10:48   Re: Hud icon coordinates
Reply With Quote #3

Other question, hostage icon so it is sprite too?
SeezySoft is offline
dark_style
Senior Member
Join Date: Jul 2009
Location: Bulgaria
Old 07-08-2012 , 13:38   Re: Hud icon coordinates
Reply With Quote #4

Yes, there are few releated -

Code:
hostage
hostage4a			
hostage3a			
hostage2a			
hostage1a			
hostage4			
hostage3			
hostage2			
hostage1
You can see the full list of those icons in hud.txt, located in your sprites directory.
dark_style is offline
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 07-08-2012 , 14:09   Re: Hud icon coordinates
Reply With Quote #5

Use "Scenario" message - it is what you want.
__________________

Last edited by <VeCo>; 07-08-2012 at 14:09.
<VeCo> is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode