OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Silencer on 23 Jan 2005, 19:37:21

Title: Dialog for one player only!!!
Post by: Silencer on 23 Jan 2005, 19:37:21
Hi all,

I have 2 questions  :) :-\
- I have made a dialog, but how can i call it in a multiplayer mission without everyone seeing the dialog (like a cti dialog).

-  And is there something special about running scripts with multiplayer missions (like it is only working for the host and not the other players)

Thanks! ;D
Title: Re:Dialog for one player only!!!
Post by: macguba on 24 Jan 2005, 01:18:25
Read snYpir's OFPEC Guide on making missions for MP.   It's in the Ed Depot.

The critical fact here is that scripts are local.
Title: Re:Dialog for one player only!!!
Post by: Silencer on 24 Jan 2005, 01:21:09
Thanks!
Title: Re:Dialog for one player only!!!
Post by: RujiK on 24 Jan 2005, 02:07:34
Easy.

Just type in:

?(PersonWhoneedstooseetheDialog == Player):goto"DoTheDialog"
Hint"Wow! Your not supposed to see it!"
exit

#doThedialog
hint"Wow! I'm the only person who sees it!"
exit


And that should work.
Title: Re:Dialog for one player only!!!
Post by: Silencer on 24 Jan 2005, 07:35:19
Thank you very much!!!!!!! :-*
Title: Re:Dialog for one player only!!!
Post by: Silencer on 24 Jan 2005, 07:48:03
I have another question as well.

Is it possible to make round edges and not square??
Thanks again!
Title: Re:Dialog for one player only!!!
Post by: dmakatra on 24 Jan 2005, 16:08:05
Yes, but it wouldn't be a dialog background. It'll have to be a picture. That's what I know anyway.

:beat: *Gets Shot* :beat: