Home   Help Search Login Register  

Author Topic: command  (Read 698 times)

0 Members and 1 Guest are viewing this topic.

Top-Gun

  • Guest
command
« on: 07 Dec 2003, 15:45:48 »
I found this and was wondering how to use it

unitname action ["strokefist"]

my man is called man2

were do i put it and would it become

man2 action ["strokefist"]

m21man

  • Guest
Re:command
« Reply #1 on: 07 Dec 2003, 16:15:39 »
I that it would be:

unitname playmove "strokefist"

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:command
« Reply #2 on: 07 Dec 2003, 17:29:11 »
I think it's both an action and a switchmove.    Yes it could be man2, the line would go in a trigger or script.    For a test put man1 and man2 facing each other very close with you as an observer a few yards away.   Create a trigger, activation true with a 3 second timeout.    Put the code in the onactivation line of the trigger, preview the mission and see what happens.    It will probably  help if you removeallweapons from man2.
Plenty of reviewed ArmA missions for you to play

Top-Gun

  • Guest
Re:command
« Reply #3 on: 07 Dec 2003, 21:28:44 »
it's not working when i add it to my player i can't punch i add it to the ini bit

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:command
« Reply #4 on: 07 Dec 2003, 21:35:19 »
I seem to recall that if you want to be able to do it as the player then you have to add it as a weapon.  It is then your main weapon - you can't have a rifle as well.  
Plenty of reviewed ArmA missions for you to play

Top-Gun

  • Guest
Re:command
« Reply #5 on: 07 Dec 2003, 22:39:34 »
explain how i add as a gun

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:command
« Reply #6 on: 08 Dec 2003, 00:28:10 »
Funnily enough, the same way as any other weapon.  ::)  

removeAllWeapons this; this addMagazine "strokefist"; this addweapon "strokefist"




« Last Edit: 08 Dec 2003, 01:07:59 by macguba »
Plenty of reviewed ArmA missions for you to play