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
Gaming Interests: Operation Flashpoint (OFP)
Editing Interests: Missions
Location: India

count script.

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

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

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

Re: count script.

Post by Snake Man » 2009-11-20 15:48:42

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
Gaming Interests: Operation Flashpoint (OFP)
Editing Interests: Missions
Location: India

Re: count script.

Post by Tiket » 2009-11-20 15:55:21

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: 8603
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC
Contact:

Re: count script.

Post by Snake Man » 2009-11-20 21:47:55

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
Gaming Interests: Operation Flashpoint (OFP)
Editing Interests: Missions
Location: India

Re: count script.

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

Thanks very much.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest