Jump to content
Sign in to follow this  
jamez_5

Add image to sqf hint page

Recommended Posts

Hey fellas. I am attempting to have an addaction. This way people can scroll wheel and select from a list. Once they select the list this will use a sqf and pop up a window that gives them help. In this help screen I want to add a picture. Here is what I have so far. 

Players init: _act = player addAction ["Kestrel4000", "k4.sqf"]

 

Inside the k4 sqf file I have: 

"Kestrel4000" HintC ["info"]; <img image='mrajp.jpeg' />

 

The addaction works and fines the file. The hint screen is in teh middle of the screen with a continue button (so far so good). However there is no image to be found. The error that it gives me is error invalid number in expression. Thanks in advance! 

 

Share this post


Link to post
Share on other sites

I have now updated my sqf file to read:

 

"Title" HintC ["Put novel here"]; hint parseText "<img image='mrajp.jpeg' <img size='20' /> ";
 

I do see the image; however, two problems. 1.) The image is not in the middle of the screen. 2.) It flashes soooo quick you cant tell what it is. Only that something flashes. 

Share this post


Link to post
Share on other sites
11 minutes ago, jamez_5 said:

<img image='mrajp.jpeg' <img size='20' />

:hmmm:

  • Like 1

Share this post


Link to post
Share on other sites
3 hours ago, jamez_5 said:

faces do nothing for me. 

Every < needs an />. You have a redundant <img in there.

Share this post


Link to post
Share on other sites
On 1/23/2017 at 3:39 AM, theend3r said:

Every < needs an />. You have a redundant <img in there.

Ahhhh makes sense. Duh! How do I adjust the image then? Just  <img image='mrajp.jpeg'/>  <img size='20'/>

 

and yes, I am semi new to editing and I suck at it! haha

 

Share this post


Link to post
Share on other sites

you can adjust image height and width

<img image='image.jpg' width='300' height='500' />
  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×