OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: BaKaRa on 29 Jun 2003, 22:29:00

Title: Help Me Please !!!
Post by: BaKaRa on 29 Jun 2003, 22:29:00
Hi Guys !!!
I Have An Intro Showing Players Name But I Need To Know How Could I Jump To Another Unit If The Next Unit Doesn't Exist ( It's A CTF ... )
If SomeOne Could Give Me Da Command To Check If An Unit Exist And If It Is A Human Or An AI... Sorry For My Bad English  ::) ( French :P )
Title: Re:Help Me Please !!!
Post by: PheliCan on 01 Jul 2003, 15:36:22
You can check if a unit exists by using the alive command. Maybe it doesn't work here, but you can always try... (Don't know exactly what you're trying to do.)

To know if a unit is a player, use the skill command. The players always have the skill set to 1. (Avoid giving the other units the skill of 1 for this to work...)