count script.

OFP editing, missions, modeling, textures, configs, but not islands

Moderators: Snake Man, Lone Wolf

Post Reply
Tiket
Recruit
Posts: 12
Joined: 2009-06-15, 05:03:01 AM
Gaming Interests: Operation Flashpoint (OFP)
Editing Interests: Missions
Location: India

count script.

Post by Tiket » 2009-11-20, 11:13:10 AM

I want to made a mission,in which 2 units are there.but how to use count command.

Snake Man
Commander-In-Chief
Posts: 8556
Joined: 2000-07-31, 10:01:01 PM
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC

Re: count script.

Post by Snake Man » 2009-11-20, 03:48:42 PM

2 units left?

Well two units left might be like this:

Code: Select all

count units GROUPNAME
PMC since 1984

Editing knowledge, visit PMC Editing Wiki
Addon manuals, visit PMC addons/mods online manuals
View our videos in PMC Youtube channel.

PMC Tactical forum Advanced Search is power.

Tiket
Recruit
Posts: 12
Joined: 2009-06-15, 05:03:01 AM
Gaming Interests: Operation Flashpoint (OFP)
Editing Interests: Missions
Location: India

Re: count script.

Post by Tiket » 2009-11-20, 03:55:21 PM

What to put on trigger.my both unit name is wes1 and wes2.iam a blackop.so when iam fighting than i can know about how many my friend are there.what to put in trigger.

Snake Man
Commander-In-Chief
Posts: 8556
Joined: 2000-07-31, 10:01:01 PM
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC

Re: count script.

Post by Snake Man » 2009-11-20, 09:47:55 PM

If they are in the players group then:

Code: Select all

hint format["%1", count units group player];
PMC since 1984

Editing knowledge, visit PMC Editing Wiki
Addon manuals, visit PMC addons/mods online manuals
View our videos in PMC Youtube channel.

PMC Tactical forum Advanced Search is power.

Tiket
Recruit
Posts: 12
Joined: 2009-06-15, 05:03:01 AM
Gaming Interests: Operation Flashpoint (OFP)
Editing Interests: Missions
Location: India

Re: count script.

Post by Tiket » 2009-11-21, 02:17:26 AM

Thanks very much.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest