OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Lykurgos on 23 Jun 2003, 18:59:36

Title: West leader, featuring.....
Post by: Lykurgos on 23 Jun 2003, 18:59:36
Okay, I have an Intro in the beginning of my mp mission. It introduces both the bases, East and West. I want to make it better--->

I have created a camera that zooms into both leaders, East and West. Now I want the following texts appear when my camera is in the position:

West leader, featuring (Name of the player)
East leader, featuring (Name of the player)

How to define what is the playerÂ's name (leader must be a human)?
The editor names of the leaders are:
-leadere
-leaderw

Thanks for any tips!  ;D
Title: Re:West leader, featuring.....
Post by: Chris Death on 23 Jun 2003, 22:41:57
name unit

will show you the name of a unit

e.g: name player

always returns me: [BF] ChrisDeath

name leadere - would return you the playername of
your east-leader and vice versa would do:
name leaderw

~S~ CD