Fa11en 10 Posted July 22, 2013 I am trying to make a TvT and I have several triggers to bring up text in the middle of the players screens, the problem is that it is faction specific. So what I was wondering is if there is any way I can get some text to only show up on opfor's screens and the other text to show up on independents screens? if anyone could help I would really appreciate it. Share this post Link to post Share on other sites
nimrod_z 8 Posted July 22, 2013 http://community.bistudio.com/wiki/side Share this post Link to post Share on other sites
Fa11en 10 Posted July 22, 2013 I think that's what I need, but I don't really understand it ....... I just started making missions a couple days ago so scripting is pretty new too me can anyone help me understand this. Share this post Link to post Share on other sites
nimrod_z 8 Posted July 22, 2013 ok, well there are 3 examples in the link I posted on how to get specific text or hint or whatever action to a specific unit or side. all you have to do now is setup a trigger or something that call the action your trying to check and give out (the hint for specific side). if you not sure how to work the editor and a new comer like we all were at 1 time I recommend you read and understand the basics. mr murray's guide is a great and easy to read resource. its actually a little dated but all general principles of everything still work to this day. give these links a look over and check out all the easy help. also use the (SEARCH) button here in the forums for your questions first. I only bring this up because this guestion has been asked for years and there are hundreds of threads that would have come up if you looked. and you could have gotten flack from some people about that. anyway, check these out bud. hope it helps. http://www.armaholic.com/page.php?id=4847 http://www.armaholic.com/forums.php?m=posts&p=54512#54512 Share this post Link to post Share on other sites
Fa11en 10 Posted July 22, 2013 well this is the text that I am using right now that shows to everyone, but its also in the middle of the screen instead of in the "hint" which is the way I want it titleText ["Our brothers in arms will arrive on the south east side of town with transport as fast as possible, Hold tight!", "PLAIN"]; so I tryed doing it like this if (side player == GUER) then {titleText ["Our brothers in arms will arrive on the south east side of town with transport as fast as possible, Hold tight!", "PLAIN.";}; but its saying there is a missing ; and i am not sure if it would work anyways Share this post Link to post Share on other sites
xxanimusxx 2 Posted July 22, 2013 if (side player == GUER) then {titleText ["Our brothers in arms will arrive on the south east side of town with transport as fast as possible, Hold tight!", "PLAIN[b][color="#FF0000"].[/color][/b]"[color="#00FF00"][b]][/b][/color];}; Red: Remove Green: Add Just replace titleText with hint if you want to use hint :D if (side player == GUER) then { hint "Our brothers in arms will arrive on the south east side of town with transport as fast as possible, Hold tight!"; }; But because your text is rather long you've to expect some linebreaks. Share this post Link to post Share on other sites
nimrod_z 8 Posted July 22, 2013 if you should change your mind about the hint because is so small you can get the titletext to be lower in the screen if you want. titleText ["Our brothers in arms will arrive on the south east side of town with transport as fast as possible, \nHold tight !","PLAIN DOWN"]; titleFadeOut 5; // this will fade out the text in 5 seconds note the: PLAIN DOWN at the end. the titleFadeOut allows you to control how long you want the message to display. if you want the text even lower, use \n at the beginning of your text message titleText ["\n\nOur brothers in arms will arrive on the south east side of town with transport as fast as possible, Hold tight !","PLAIN DOWN"]; titleFadeOut 5; Share this post Link to post Share on other sites
Fa11en 10 Posted July 23, 2013 Thank you both so much for your help I really appreciate it Share this post Link to post Share on other sites
Fa11en 10 Posted July 27, 2013 so i am still working on the mission and now all of a sudden for no fucking reason the script doesn't work.....please help me I am trying to finish it for my groups session tomorrow night Share this post Link to post Share on other sites
Fa11en 10 Posted July 27, 2013 I still cannot figure it out, so frustraiting damnit! Share this post Link to post Share on other sites
xxanimusxx 2 Posted July 28, 2013 now all of a sudden for no fucking reason the script doesn't work..... And with which magic trick should we help you out? :D Do you really think we'll get to know your problem if you can't deliver some infos relating to your scripts? Like what was the last known and working script revision? What did you change since then? About what script do we talk here? Which errors do you get? (Check your rpt-file for instance) Share this post Link to post Share on other sites