Home   Help Search Login Register  

Author Topic: Display different radio messages for different players  (Read 1169 times)

0 Members and 1 Guest are viewing this topic.

madwolfnemesis

  • Guest
How should I go abt displaying different messages to different players in multiplayer?

Let's say, player1 has these commands

1:Drive
2:Explode
3:Deploy

And Player2 has these commands

1:Sit
2:Detonate
3:Fire

How should I make it so they see different commands in scripting?
And also, how to make a 2/3 level radio net commands?

madwolfnemesis

  • Guest
Re:Display different radio messages for different players
« Reply #1 on: 21 Aug 2003, 09:55:06 »
 ??? ??? ???

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Display different radio messages for different players
« Reply #2 on: 21 Aug 2003, 15:48:22 »
I think, nobody's answering, because it's not really
clear, what you want:

is it:
Code: [Select]
displaying different messages to different players in multiplayer?

or is it:
Code: [Select]
displaying different custom actions to different players in multiplayer?

And what i totally couldn't figure out yet:

Code: [Select]
how to make a 2/3 level radio net commands

You need to go a lil bit more into detail of what you wanna
do, and what you need.

I mean off course i got, that you want different custom actions appear for different players
but upon your question that's not really easy for others
to figure out  ;)


*hint*

condition: unitname == player

while unitname represents the name you have given the unit
in editor.

would be the right condition to check, wether the unit
is local or not.

In a script you could have as first lines:

?(soldier1 == player): goto "player1"
?(soldier2 == player): goto "player2"

#player1
blablabla...add_custom_actions_for_player1_etc.....
exit

#player2
blablabla...add_custom_actions_for_player2_etc.....
exit


~S~ CD
« Last Edit: 21 Aug 2003, 15:49:14 by Chris Death »
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted