OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Iwesshome on 25 May 2003, 17:30:10
-
I understand the above but how would I get man1 to hit man2?
Thanks,
IW
-
This is how I have it set up....
man1 action ["strokegun",man2]
Man1 = West
Man2 = East
Nothing happens... they just stand still. I have also for man1 (setcaptive true) so the East guy want fire.
-
You have to have them standing really close together, with the victim in front of the hitter. Dunno the exact syntax.
-
K,
I tried both these scenerios to see if any would work...
#1. "strokefist"
Man1 (West)
RemoveAllWeapons man1; man1 action ["strokefist",man2]; man1 SetCaptive true
Man2 (East)
Man3 (West/Me)- To view action
man3 SetCaptive true
Notes: Man1 with weapons removed will just drop to the ground
#2. "strokegun"
Man1 (West)
man1 action ["strokegun",man2]; man1 SetCaptive true
Man2 (East)
Man3 (West/Me)- To view action
man3 SetCaptive true
Notes: Man1 will just fire at man2... if I set man2 SetCaptive true man1 will just drop to the ground
-
'strokefist' has really bad collision detection, you have to be standing so close to the other guy you're pushing him about to hit with it.
You can give someone the strokegun without any other weapons.
But I'm making a MP mission with strokegun and it won't work in MP for some reason.