OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Dj Tano on 10 Mar 2007, 17:51:34

Title: Tanos Questions
Post by: Dj Tano on 10 Mar 2007, 17:51:34
1) How do i get a vehicle to be spawned empty? *solved*

2) How do i get sodliers not to spawn around their leader, but exactly where i placed them? *solved*

3) How do i give a unit a leader that i want? (i want to add a russian soldier to an us group) *solved*

4) How do i make a target be killed in only 2-3 hits?

5) How do i make a certain position be already laser designated (for air strikes) when the game starts?

6) How do i add/remove weapons from a crate? (i tried the RemoveAllWeapons line, but it says i have the wrong number) *solbed*

7) How do i put a second gunner into the blackhawk? (moveInGunner works only for 1)

8) How do i make a team win if a certain condition is fulfilled? (i want to make one team win if a shilka is destroyed)
Title: Re: Tanos Questions
Post by: Planck on 10 Mar 2007, 18:25:55
Question 1

Spawned?

Sounds like MP to me.

However, if you actualy just meant 'How do I create an empty vehicle' that is different.   :D

fred = "VehicleClassName" createVehicle whateverposition.

Vehicle in this case is called fred.

See the Comref (http://www.ofpec.com/COMREF/index.php?action=list&game=All&letter=c#createVehicle).

Hope it helps.   :D


Question 2

Group the east unit to a west officer......or vica versa.


btw.  Try please to keep it to one (1) question per topic, it is so much easier......trust me.


Planck
Title: Re: Tanos Questions
Post by: SaBrE on 10 Mar 2007, 18:28:17
If you're just starting with editing and it's as simple as you put it:

1) You solved it ;)

2) Double click on each unit, then under "Special" select "None" .

3) Make the soldier a private or of low rank, then Press 'F2' when in the mission editor (selects 'Groups'). Draw/drag a line from the russian soldier to the US leader by holding down the left click on the unit then letting go on the leader.
Title: Re: Tanos Questions
Post by: Planck on 11 Mar 2007, 01:15:43
*sigh*

Why do people ignore me, must be a genetic fault.   :confused:


4/ what?
5/ what again?
6/  clearweaponcargo vehiclename


Planck
Title: Re: Tanos Questions
Post by: SaBrE on 11 Mar 2007, 17:24:36
Sorry if you meant me Planck, I just assumed that he was a beginner who wanted to know some basics.
Title: Re: Tanos Questions
Post by: Planck on 11 Mar 2007, 17:50:31
No I didn't mean you SaBrE....hehehehe, I was refering to when I asked the topic starter to make it one question per topic, and was ignored.


 :confused:


Planck