Home   Help Search Login Register  

Author Topic: Syntax for Groupchat with multiple players  (Read 1370 times)

0 Members and 1 Guest are viewing this topic.

Mr.BoDean

  • Guest
Syntax for Groupchat with multiple players
« on: 02 Aug 2003, 09:52:47 »
Okay, here's a trigger syntax change from 1.46 to RES

 Old 1.46 trigger that worked fine:

P5,P6,P7,P8 Groupchat "Blah, blah"

Now, in RES editor I get error :

Missing  )

I've tried using ;  and ( )  but no worky unless I only have 1 player do the chat.
i.e. P5 GroupChat "Blah blah"

However, it is MP and if that player spot is not taken by human or AI , it won't happen, so i need all of the possible players to be representin' !  ;D  

How to do that?  8)   ???

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Syntax for Groupchat with multiple players
« Reply #1 on: 06 Aug 2003, 01:23:01 »
wtf ???

cudnt have worked @ 1.46 :P load da game nd try again ;P

now u shud use somin like

? alive P5 : P5 Groupchat "Blah, blah"; goto "end"
? alive P6  :P6 Groupchat "Blah, blah"; goto "end"
? alive P7 : P7 Groupchat "Blah, blah"; goto "end"
? alive P8 : P8 Groupchat "Blah, blah"
#end
;watever u want
exit

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Mr.BoDean

  • Guest
Re:Syntax for Groupchat with multiple players
« Reply #2 on: 06 Aug 2003, 01:44:15 »
wtf ???

cudnt have worked @ 1.46 :P load da game nd try again ;P

now u shud use somin like

? alive P5 : P5 Groupchat "Blah, blah"; goto "end"
? alive P6  :P6 Groupchat "Blah, blah"; goto "end"
? alive P7 : P7 Groupchat "Blah, blah"; goto "end"
? alive P8 : P8 Groupchat "Blah, blah"
#end
;watever u want
exit

LCD OUT

Yup, I swear it worked before!  :-X

Ok, so you're sayng I've gotta call a script then.  Yeah, I'm using some scripts called "AliveNChat" for other spots in mission ...was trying to just add something in the On Activation line of a trigger since all players in group (assuming they are being used) are alive.
 
ok, ok , I'll add another script.  :P   ;D

THX,  LCD  8)
« Last Edit: 06 Aug 2003, 01:45:16 by Mr.BoDean »

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Syntax for Groupchat with multiple players
« Reply #3 on: 06 Aug 2003, 01:50:40 »
so ma job here is ova ? right ?

if it works solve da thread  8)

if not - continue askin ;)  :-X

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta