Thread: Add Object?
View Single Post
Old 03-16-07, 09:52 AM   #2
suBB
Chief
 
Join Date: Dec 2005
Posts: 326
Downloads: 5
Uploads: 0
Default

Quote:
Originally Posted by Djmitri
Hi guys.
I have a question for you.

I would like to create a mission that, when a submarine arrive in a determinated location, one or more object will be created.

Is it possibile to do? :hmm:
Of course

All you have to do is add the object you want to create to a dynamic group but set the POI to 0%. Then once the trigger is fired, make a script to bring the object into existence.

The POI needs to be 0% to ensure the object will never spawn.

The maximum and minimum values needs to be set for the total number of objects in group, in this case max = 1 and min = 1.

The script you need to use is ‘create group’ as this will spawn the object when the trigger is fired.

Also be mindful how you use ‘apply to’ settings in triggers.

Apply to all – can only be fired by AI platforms.

Apply to ‘platform’ – can only be fired human controlled platforms.

Hope this helps.
suBB is offline   Reply With Quote