Kolmain 6 Posted June 5, 2015 I saw some videos of King of the Hill and noticed they had a very nicely animated kill ticket at the bottom right. Does anyone have/know how to go about scripting something like that? It had like a flash that went over the text and revealed it, then it faded out... Share this post Link to post Share on other sites
samatra 85 Posted June 5, 2015 Its a Structured Text control inside Controls Group. When new line gets added, colored rectangle appears above it to display a flash. When message times out entire Structured text gets moved down one line and controls group cuts it off. Share this post Link to post Share on other sites
davidoss 552 Posted June 5, 2015 I am looking for code which can display some info when civilian was killed. Cant find nothing for arma 3. Share this post Link to post Share on other sites
Kolmain 6 Posted June 5, 2015 Its a Structured Text control inside Controls Group. When new line gets added, colored rectangle appears above it to display a flash. When message times out entire Structured text gets moved down one line and controls group cuts it off. I'm an experienced scripter, but never got into dialogs or control groups. Can you give me a code snippet? :( Share this post Link to post Share on other sites
killzone_kid 1333 Posted June 5, 2015 I'm an experienced scripter, but never got into dialogs or control groups. You gotta start sometime, innit? Share this post Link to post Share on other sites
Jona33 51 Posted June 5, 2015 You gotta start sometime, innit? I believe you mean, "You gotta start sometime, init". :D On topic, is a good intro to dialogs. I suspect the KOTH thing is quite a lot fancier but this might be worth a look. Share this post Link to post Share on other sites
killzone_kid 1333 Posted June 5, 2015 LOL I'm slow today... :) Share this post Link to post Share on other sites
samatra 85 Posted June 5, 2015 I'm an experienced scripter, but never got into dialogs or control groups. Can you give me a code snippet? :( Unfortunately there is no easy way to give you the code that works as it is connected to lots of other stuff, you'll need to do your own implementation, it is just 3 controls - controls group, structured text inside of it and highlight text that is used as solid rectangle for the flash. Share this post Link to post Share on other sites
Kolmain 6 Posted June 5, 2015 You gotta start sometime, innit? Lol, looks like todays the day! I believe you mean, "You gotta start sometime, init". :DOn topic, is a good intro to dialogs. I suspect the KOTH thing is quite a lot fancier but this might be worth a look. Thanks I'll watch this tonight. Unfortunately there is no easy way to give you the code that works as it is connected to lots of other stuff, you'll need to do your own implementation, it is just 3 controls - controls group, structured text inside of it and highlight text that is used as solid rectangle for the flash. I appreciate your replies, I'll be in touch if I get stuck. :p Share this post Link to post Share on other sites