OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: BHD Mod on 04 May 2003, 19:33:38

Title: 3 questions
Post by: BHD Mod on 04 May 2003, 19:33:38
1: How do I name a group?

2: How do a make a trigger be activated when an entire group is destroyed?

3: I know how to insert text into a script, but how do i had different kinds of TEXT. I looked at a tutorial but it was really confusing.
Title: Re:3 questions
Post by: macguba on 04 May 2003, 19:38:54
As ever, syntax not guaranteed.

1.  Write in the init field of the leader

namegroup = group this

2.  Condition:    count units namegroup == 0

3.  I don't understand the problem.   Please elaborate. ;)
Title: Re:3 questions
Post by: Burn on 04 May 2003, 19:50:00
Answer to#1: loongrp1 = group this <-----enter this in the leaders init. field. ;D
Answer to#2: make a trigger with Condition: not alive loongrp1 ;D
Answer to#3: Don't understan u'r question... clarify :P

loongrp1=name of the group.