Home   Help Search Login Register  

Author Topic: Lying on back  (Read 1022 times)

0 Members and 1 Guest are viewing this topic.

O Neil

  • Guest
Lying on back
« on: 23 Nov 2002, 03:57:14 »
Hey guys, me again.

Probably a real original question...but I need a script for someone lying on their back. Even if they're damaged/bloody cause my mission has a guy lying down ingured.

Thxs :(

_hammy_

  • Guest
Re:Lying on back
« Reply #1 on: 23 Nov 2002, 04:35:03 »
i think the only 2 ways to do this is to do this setdammage 1, or make a animation thingy

O Neil

  • Guest
Re:Lying on back
« Reply #2 on: 24 Nov 2002, 07:45:55 »
Hey

Setdammage 1  kills them, also they're lying on their front, I want them facing up.

Thxs :(

Totibbs

  • Guest
Re:Lying on back
« Reply #3 on: 11 Dec 2002, 18:20:49 »
here are some animation variables you can use to make your unit "dead".

for eXample:

Quote
player switchmove "CivilDead"

or the longer version:

<name of the player who must play dead> switchmove "one of the Character Animations from below"

CivilDead
   
CivilDeadVer2
 
CombatDead
   
CombatDeadVer2
   
CombatDeadVer3


But remember, playing dead, doesnt mean the AI thinks he IS dead... so you must also do something as "do never fire " if you want a russian soldier walks nearby your "playing dead" west-soldier...


good luck :)

source: http://www.concept-5.com/ofp/tutorials/CMREFv103.htm#AE


(you can also try playmove in stead of switchmove. But kevin recommended switchmove and I trust him...) ;D
« Last Edit: 11 Dec 2002, 23:44:37 by Totibbs »

kevinfostereditguy

  • Guest
Re:Lying on back
« Reply #4 on: 11 Dec 2002, 22:35:33 »
wouldnt it be more usefull to use switchmove? playmove does the whole animation, but switchmove will make it happen instantly.

Offline XCess

  • Former Staff
  • ****
Re:Lying on back
« Reply #5 on: 22 Dec 2002, 15:56:00 »
to stop people shooting the sleeping person use unit setCaptive true instead of unit setCombatMode"green" for every enemy unit - if you don't wat them t be shot anyway.

O Neil

  • Guest
Re:Lying on back
« Reply #6 on: 22 Dec 2002, 23:58:35 »
Reply to tonibbs (whatver, soz) they're ok, but they look like they're dead, and they ar't on their back, I think, well, atleast they still look dead. Anhyy, doesn't matter.

I'll leave this open just incase someone makes a script or something.

O neil ;)

Captain Winters

  • Guest
Re:Lying on back
« Reply #7 on: 24 Dec 2002, 02:06:50 »
Ah, I don't think that's possible. You need to make an animation with XAnimation. I wouldn't mind using sumthin like this either!
_________________________________
_________________________________
Capn' Winters Out!

O Neil

  • Guest
Re:Lying on back
« Reply #8 on: 24 Dec 2002, 05:15:39 »
ok