OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: MIC on 15 May 2003, 17:19:01

Title: Paratroopers & Radio
Post by: MIC on 15 May 2003, 17:19:01
Hi.
I'm currently making a mission, and therefor I have to know 2 things. How can you let a chopper drop paratroopers? If I do 'Transport Unload' - 'Get Out' The chopper will land, and let them off. But I don't want it to land.

And second, maybe a more difficult question to explain.
It's about the Radio. If you use a SQS-file and type

Player sideradio "bla bla"
You only see the code-name of the player like
"Alpha red: bla bla"
But I just want a name to stand there instead of the code-name.
How do you do that?
Title: Re:Paratroopers & Radio
Post by: Kaliyuga on 15 May 2003, 19:22:16
1) you need to use an eject script... there are tons of them to be found here: http://www.ofpec.com/editors/browse.php?browsewhat=2&category=2_4


2) If I'm not mistaken you would need to set an identity for that player in the description.ext  for this to occur

SetIdentity
 
Description:
Sets an identity defined in the description.ext file to the specified unit. Identities are used for characters in the mission who will be using the say and radioMsg commands


Syntax:

unitName SetIdentity "identityName"

unitName is the name of the unit to assign the identity

identityName is the name of the CfgIdentity class in the description.ext file.