Multiplayer group names, Role selection |
Multiplayer group names, Role selection |
Jun 30 2009, 16:29
Post
#1
|
|
Junior Member Group: Members Posts: 28 Joined: 26-May 08 Member No.: 3,233 |
Hi, I'm making a training map for my unit and I've placed different groups at different stations.
This screenshot shows the multiplayer role selection, I want to switch out for example the 1-1-A to Helicopter, changing the unit name didn't help at all. |
|
|
Jul 1 2009, 14:36
Post
#2
|
|
Member Group: Members Posts: 111 Joined: 23-July 08 From: Sweden Member No.: 3,719 |
Write this in the initialization on the group leader of the squad: this setGroupid ["Helicopter", ""] and there you go. The squad will now have the name Helicopter in the sidechat and the role selection.
-------------------- Gunner: Sir! We are surrounded! Commander: Excellent! Then we can attack them from all directions!
|
|
|
Jul 1 2009, 15:37
Post
#3
|
|
Junior Member Group: Members Posts: 28 Joined: 26-May 08 Member No.: 3,233 |
Doesn't work.
This post has been edited by Howard: Jul 1 2009, 15:58 |
|
|
Jul 1 2009, 16:41
Post
#4
|
|
Member Group: Members Posts: 111 Joined: 23-July 08 From: Sweden Member No.: 3,719 |
Doesn't work. Do a trigger then and name the squad heli1 then in the act-line you write: CODE heli1 setGroupid ["Helicopter", ""] . The problem with that is that they will still have the name 1-1-A in the role selector. Are you sure you wrote this line right? It works for me.
This post has been edited by T4MP400: Jul 1 2009, 16:42 -------------------- Gunner: Sir! We are surrounded! Commander: Excellent! Then we can attack them from all directions!
|
|
|
Jul 1 2009, 17:02
Post
#5
|
|
Junior Member Group: Members Posts: 28 Joined: 26-May 08 Member No.: 3,233 |
This is what I've done on every group:
Still no change when I fire up a server. But if I place a trigger won't that mean that I will have to start and spawn, etc. before the group name changes? |
|
|
Jul 1 2009, 18:44
Post
#6
|
|
Member Group: Members Posts: 111 Joined: 23-July 08 From: Sweden Member No.: 3,719 |
This is what I've done on every group: [mg]http://img294.imageshack.us/img294/9021/stilll.jpg[/img] Still no change when I fire up a server. But if I place a trigger won't that mean that I will have to start and spawn, etc. before the group name changes? Stupid me. This dont take effect before the real gameplay have started. So when you are in the role selecter the spawn of the units have not started so the script have not started up before that so this just effect the sidechat and nothing else. Sorry for that. -------------------- Gunner: Sir! We are surrounded! Commander: Excellent! Then we can attack them from all directions!
|
|
|
Jul 1 2009, 19:31
Post
#7
|
|
Junior Member Group: Members Posts: 28 Joined: 26-May 08 Member No.: 3,233 |
Hehe, alright.
Is there any way to trigger this upon server start? |
|
|
Lo-Fi Version | Time is now: 19th April 2024 - 02:35 |