OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: seanver on 10 Sep 2002, 02:14:53

Title: Hands dammaged
Post by: seanver on 10 Sep 2002, 02:14:53
Is there any way to simulate the inaccuracy that you have when your hands are dammaged?

Of course without having to modificate any model of weapons, etc, etc. Just in the editor, with a command.
Title: Re:Hands dammaged
Post by: Chris Death on 10 Sep 2002, 02:27:37
Here's what the official comref says:

Quote
handsHit soldier
Operand types:
    soldier: Object
Type of returned value:
    Number
Description:
    Check if soldiers hand are hit (inaccurate aiming).

Example:
    handsHit leader player


Maybe you can set it manually (can't test it, i'm at work).

player handshit = 0.5
or: handshit player = 0.5

probably you will get an error about reserved variable,
if so then it doesn't work with that handshit way.

:edit - what?? it doesn't display an official command like
h a n d s h i t

~S~ CD