OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Mr.BoDean 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) ???
-
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
-
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)
-
so ma job here is ova ? right ?
if it works solve da thread 8)
if not - continue askin ;) :-X
LCD OUT