NEO -PZ- 0 Posted April 20, 2002 Hey, Does anyone know how you do so that when a unit says something on sidechannel, he has a name like "Papa Bear", so that you get something like: SEAL Team: We've reached the city, awaiting orders. Over. Papa Bear: Roger that, SEAL Team, you're cleared to move in. Papa Bear out. Share this post Link to post Share on other sites
Aculaud 0 Posted April 21, 2002 i dont know, but i'm keeping this one alive, cause i want to know too. Share this post Link to post Share on other sites
ralphwiggum 6 Posted April 21, 2002 try this.(i'm not sure either) donut=[west,"SEAL"] donut sideChat "We've reached the city, awaiting orders. Over" fatso=[west,"hq"] fatso sideChat "Roger that, SEAL Team, you're cleared to move in. Papa Bear out" fatso=[west,"hq"] works fine..but the donut-seal one, i'm guessing Share this post Link to post Share on other sites
=BFP=Cheetah 0 Posted April 21, 2002 uh i thought it was like this: PapaBear = [West, "HQ"] I always use it and for sealteam i think Seal = [West, "Sealteam"] then: PapaBear sidechat "Roger that, SEAL team...." dunno for sure Share this post Link to post Share on other sites
Aculaud 0 Posted April 21, 2002 Ok, i am very confused with this. Whats the trick here? Iv tried assigning it to myself and it worked once, and now it never works. I named myself "bum" and put bum=[west,"hq"] in my initialization field. I tried both Ralphs way and cheetahs way. then i made a trigger that was activated by radio alpha, and put bum sidechat "testing" in the activation field. And then when i tried it, it gave me a reserved variable in expression error. I tried this with a lot of different names, and it still does this. Am i supposed to put all this in a script or trigger or what? Share this post Link to post Share on other sites
NEO -PZ- 0 Posted April 21, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Aculaud @ April 21 2002,10:37)</td></tr><tr><td id="QUOTE">Am i supposed to put all this in a script or trigger or what?<span id='postcolor'> I wonder that too... Things told above didn't work in the init.field. Share this post Link to post Share on other sites
=BFP=Cheetah 0 Posted April 21, 2002 you must create a script and then call it with: [] exec "scriptname.sqs" Share this post Link to post Share on other sites
ralphwiggum 6 Posted April 21, 2002 i checked and need to make corrections first, donut=[west,"SEAL"] does not work for some reason, so don't use it. but; fatso=[west,"hq"] fatso sideChat "Roger that, SEAL Team, you're cleared to move in. Papa Bear out" works. what happens is that fatso sideChat "whatever" will appear as 'HQ:whatever' and this can be done in trigger too in 'on activation' field, place this fatso=[west,"hq"]; fatso sideChat "Roger that, SEAL Team, you're cleared to move in. Papa Bear out" this should work when trigger's condition is met. Share this post Link to post Share on other sites
NEO -PZ- 0 Posted April 21, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (RalphWiggum @ April 21 2002,20:13)</td></tr><tr><td id="QUOTE">and this can be done in trigger too in 'on activation' field, place this fatso=[west,"hq"]; fatso sideChat "Roger that, SEAL Team, you're cleared to move in. Papa Bear out" this should work when trigger's condition is met.<span id='postcolor'> This is really nice, Thanks for everyone's help ! Share this post Link to post Share on other sites
Aculaud 0 Posted April 21, 2002 that still doesnt work for me. I get a reserved variable in expression error Share this post Link to post Share on other sites
Aculaud 0 Posted April 21, 2002 I also had another question: Do i have to specify who fatso is before every sidechat message, or is once enough? Like, can i specify who he is with a trigger that activates immediately, and then every radio message from fatso will apear as HQ? Share this post Link to post Share on other sites
NEO -PZ- 0 Posted April 21, 2002 A unit (man) has to "be" that fatso. Place an unit and in the Name field, put fatso. Then like told in previous posts. Have not tried, but I think it will work. Good night. Share this post Link to post Share on other sites
ralphwiggum 6 Posted April 22, 2002 actually i think you can define it once, and it is not related to name of a unit. i.e. everytime a trigger(not related to first one that sends sidechat) is activated to send message, fatso sideChat "We are under fire", it shouldn't be problematic. when you declare something in mission editor's trigger, it becomes global variable, and can be used every where in the mission. and that SEAL one cannot work since it's not defined I guess. [west,"hq"] seems to be only way to define it. Share this post Link to post Share on other sites
NEO -PZ- 0 Posted April 23, 2002 Final solution: In your init.sqs script or in a trigger - On Activation field - write: PapaBear = [West, "HQ"] And then use normal commands like: PapaBear sidechat "Blah blah" Do not create a unit named PapaBear. Thanks to Tigershark, Grayhawk and JAP. Enjoy ! Penetrator Share this post Link to post Share on other sites