Home   Help Search Login Register  

Author Topic: how to check man position?  (Read 1312 times)

0 Members and 5 Guests are viewing this topic.

Offline TonyRanger

  • Members
  • *
  • I'm a llama!
how to check man position?
« on: 04 Jul 2004, 10:22:39 »
can anyone tell me how to check man position?(how to check a man is stand or lying)

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:how to check man position?
« Reply #1 on: 04 Jul 2004, 11:20:55 »
This one comes up regularly:   I have a feeling that there is no absolutely reliable way but search the forum, I may be wrong.
Plenty of reviewed ArmA missions for you to play

Offline TonyRanger

  • Members
  • *
  • I'm a llama!
Re:how to check man position?
« Reply #2 on: 11 Jul 2004, 12:31:02 »
after searching,I still can't find any way to do this,It's not good,It's not good at all!I get a bad feeling about this.but,nobody knows it?
how this event come true:you leg broken,and you want stand,but you can't stand .this is default event in OFP game.I think it's run by a script.
is anybody knows how to check man position?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:how to check man position?
« Reply #3 on: 11 Jul 2004, 12:37:00 »
There are many things which happen in the game that can't be monitored or controlled by mission editing commands.  In that sense the mission editing functionality is incomplete.

For example, there is a command handsHit which checks if a unit's hands/arms have been hit and therefore if he suffers from inaccurate aiming, but there is no equivalent command legsHit.   Sadly.
Plenty of reviewed ArmA missions for you to play

Offline TonyRanger

  • Members
  • *
  • I'm a llama!
Re:how to check man position?
« Reply #4 on: 11 Jul 2004, 12:51:15 »
but in addeventhandler["dammage",{_this exec"xxx.sqs"}]
it can check which position of man be dammage

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:how to check man position?
« Reply #5 on: 12 Jul 2004, 09:21:40 »
*cough*

Try the canstand command ;)

? not (canstand unit): unit say "ahhh... my legs"

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:how to check man position?
« Reply #6 on: 12 Jul 2004, 14:51:35 »
I was gonna say that. Lol, nooooob macca! ;D ::)

j/k ;D

:beat: *Gets Shot* :beat:

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:how to check man position?
« Reply #7 on: 12 Jul 2004, 15:42:38 »
It's soooo long since I actually read the comref ... I am entering my second childhood.

Now where did I put my stick ....
Plenty of reviewed ArmA missions for you to play

Offline lendrom

  • Members
  • *
Re:how to check man position?
« Reply #8 on: 12 Jul 2004, 17:29:38 »
AFAIK 'canstand' checks if unit is able to stand. Not if he is standing or laying at the moment. :-\
« Last Edit: 12 Jul 2004, 17:30:01 by lendrom »
Blessed are those who have nothing to say and yet they remain silent.

DBR_ONIX

  • Guest
Re:how to check man position?
« Reply #9 on: 12 Jul 2004, 17:51:35 »
Yeah, like if you crashes a car, you go automaticly go prone, and you cant stand up..
It checks that
Just like canmove for cars..
Only idea I can think of, it camcreate a really weak bullet, at height 1, 3 and 5 or something
And if it hits the unit at 5, he's standing, if not, make the lower one, and it hits, he's crouched, and it that does it, make the lowest one, and if that does it.. Uhh.. :P

It's not ideal, though (Never tested it, btw)
- Ben

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:how to check man position?
« Reply #10 on: 12 Jul 2004, 18:49:15 »
Thats a great idea! But instead of a bullet, use a GL and check the distance. I'm gonna try this out now! Will be back with a script in a while.

:beat: *Gets Shot* :beat:

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:how to check man position?
« Reply #11 on: 12 Jul 2004, 19:09:09 »
Uhm, yeah. Nevermind what I said, okay? ;)

Distance will allways check at the bottom of the model, no mather what :( .

:beat: *Gets Shot* :beat: