Home   Help Search Login Register  

Author Topic: 2 questions  (Read 494 times)

0 Members and 1 Guest are viewing this topic.

BHD Mod

  • Guest
2 questions
« on: 22 Mar 2003, 22:25:53 »
#1: I have one west unit called "A". I have one object called "B". what do I type in the init field of a unit to make "A" shoot at "B"?

#2: What do I type in the init field of a unit to make it start the level crouching?

For some people these questions might be really easy, but I just can't make these two things happen.

All answers are appreciated.

p.s: I have already checked the turorials.
« Last Edit: 22 Mar 2003, 22:27:49 by BHD Mod »

BaKaRa

  • Guest
Re:2 questions
« Reply #1 on: 22 Mar 2003, 22:32:04 »
#1 : Try This:      A DoFire B            or               A DoTarget B

#2 : Try This:      UnitName SetUnitPos "DOWN"    

Flapje

  • Guest
Re:2 questions
« Reply #2 on: 22 Mar 2003, 22:34:05 »
1: abuu's editing tutorial is a good one for these questions.

2: your pic is a little to the large side  ;)
« Last Edit: 22 Mar 2003, 22:34:41 by Flapje »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:2 questions
« Reply #3 on: 22 Mar 2003, 22:36:18 »
1)  

A doTarget B; A doFire B

2)

The commands you need are switchMove and playMove.   Look in the Unofficial command ref in the Ed Depot for the particular animation that you want (or search the forum).   The end result willl be something like

this switchMove "crouchToCombat"        (syntax not guaranteed)

Never worry about asking a question that is too easy - the forum exists to help people when they get stuck.    The important thing is to do your homework first:  as long as you have checked the tutes and searched the FAQ and the forum, you may ask anything you want.  :)

PS - read the sticky at the top of the forum as well  ;)
« Last Edit: 22 Mar 2003, 22:36:52 by macguba »
Plenty of reviewed ArmA missions for you to play

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:2 questions
« Reply #4 on: 22 Mar 2003, 23:11:49 »
Many new guys today. My welcome lines are tired. :beat:

WELCOME, DUDE!