OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Siber Fox on 18 Sep 2002, 03:54:28
-
Is it possible to make a soldier fight another. EX: 2 Soldiers getting into a fist fight with out killing eachother; a civilian fighting a soviet.
-
Consider the Tao of unofficial command reference and Strokefist and Strokegun. I can't even remember if they are weapons or actions, but they are there somewhere.
Depending on who you want to fight whom there may be other complications. Make it work with East and West first and take it from there.
-
:clap: i believe you need to do the next scripting:
First, add to each unit you want to fist fight: This addmagazine "Strokefist";this addweapon "Strokefist"
Secondly, create a trigger:
In the condition: Not alive thefirstsoldiersname
and in the action: thefirstsoldiersname setdammage 0;
that trigger will turn the soldier immortal.
create a similar trigger to the second soldier.
i believe this is a temporary solution to your problem
-
Ha,ha. You must have been looking for a solution to the same problem? :D Thanks for using the search feature rather than starting another thread on the subject. Others should be so determined.