count script.

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

Moderators: Snake Man, Lone Wolf

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 »

I want to made a mission,in which 2 units are there.but how to use count command.
Snake Man
Commander-In-Chief
Posts: 9949
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

Re: count script.

Post by Snake Man »

2 units left?

Well two units left might be like this:

Code: Select all

count units GROUPNAME
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 »

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: 9949
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

Re: count script.

Post by Snake Man »

If they are in the players group then:

Code: Select all

hint format["%1", count units group player];
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 »

Thanks very much.

Return to “OFP Editing”