OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Blanco on 05 Sep 2002, 00:51:30

Title: hanging people
Post by: Blanco on 05 Sep 2002, 00:51:30
Hi,

Is it possible to put a dead soldier in the air (3 meters above the ground) so it looks like they hang him in tree. I tried the setpos... etc But the soldier falls down from the sky
I want him to stay in the air. It works fine with an object but not with people. There are civilian dummies somewhere, but I only have a few sitting down; Are there others standing up?

Also I used a switchmove command (the one the guy is leaning over a table) cause when you use that and you kill him instantly from the beginning it looks cool. ;D
But then he's standing on the ground, and I want him hanged in a tree ;D

Blanco, glad the forum is back online.

Title: Re:hanging people
Post by: Kaliyuga on 05 Sep 2002, 02:39:25
using a looped script might solve yer problem ... just keep setting him at x meters above the ground continiously until you need him to fall.. I think I have a cargo rope addon around here somewhere that you could use as a rope.. LOL ;D
Title: Re:hanging people
Post by: Stalker on 05 Sep 2002, 10:29:33
No no no. No scripts. To make a soldier hang on the tree you need to set his anim to "FXParaDead" and hagn him using setpos command
Title: Re:hanging people
Post by: Blanco on 05 Sep 2002, 18:19:49
THX very much, guys

I don't need that rope cause you wont see it in the dusk.
It's only the silouhet I need for an intro...

Title: Re:hanging people
Post by: KTottE on 05 Sep 2002, 18:20:51
Oooh, I like the way you are thinking. That would make a great camera shot.

Cheers, KTottE
Title: Re:hanging people
Post by: Messiah on 05 Sep 2002, 19:19:32
hmmm - i thought u said the getpos command didnt work to keep them hanging in the air....  ???
Title: Re:hanging people
Post by: Kaliyuga on 05 Sep 2002, 19:26:50
Yeah.. if you setpos a unit it will fall as soon as it gets to that pos...
so if you used a looped scroll won't this get around that problem?? thats what I suggested earlier ;)
Title: Re:hanging people
Post by: Messiah on 05 Sep 2002, 19:41:07
yeah - that would work... as long as u make the script fast enuff....

there may be a bit of vibration - as in the guy goes up and down so fast he looks slightly blurred at close distances....

give it a go.
Title: Re:hanging people
Post by: Bremmer on 05 Sep 2002, 23:22:48


[attachment deleted by admin]