Home   Help Search Login Register  

Author Topic: Could I? How?  (Read 545 times)

0 Members and 2 Guests are viewing this topic.

Profe

  • Guest
Could I? How?
« on: 12 Feb 2005, 06:09:53 »
Is it possible to use the strokefist command through waypoints or init fields? If so, how should it look? I tried unitname str_action_strokefist unitname and others and I just get unknown operator errors.

I just want a unit to move the the waypoint and punch someone :/

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Could I? How?
« Reply #1 on: 12 Feb 2005, 06:19:16 »
Try this:

unitname action ["strokefist"]


Planck
I know a little about a lot, and a lot about a little.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Could I? How?
« Reply #2 on: 12 Feb 2005, 12:17:19 »
In general you can put OFP code anywhere - init lines, waypoints, triggers, scripts.    

Code in init lines is executed right at the start of the mission.    It's no good for something you want to happen more than about second into the mission.
Plenty of reviewed ArmA missions for you to play

Profe

  • Guest
Re:Could I? How?
« Reply #3 on: 13 Feb 2005, 22:18:03 »
Ok that line worked, but it just plays the animation, he doesn't actually do it in the direction of the person.