Home   Help Search Login Register  

Author Topic: putting enemies 2 sleep  (Read 1785 times)

0 Members and 1 Guest are viewing this topic.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
putting enemies 2 sleep
« on: 09 Aug 2007, 02:28:27 »
is dere nyway 2 simulate a sleep in 1 of da soldiers (not anim wise...) i want da soldier 2 not detect my player if he is prone lets say... (but all da oders shud b able 2 detect da player... dats da reason y it cant b setcaptive command)

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline myke13021

  • Contributing Member
  • **
  • Myke
Re: putting enemies 2 sleep
« Reply #1 on: 09 Aug 2007, 02:36:22 »
untested, but unit disableAI "AUTOTARGET" could be worth a try.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: putting enemies 2 sleep
« Reply #2 on: 09 Aug 2007, 02:40:47 »
does not work...

thx 4 da sugestion tho

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: putting enemies 2 sleep
« Reply #3 on: 09 Aug 2007, 02:42:13 »
Just set the sleeping units as captive. Captives dont engange and dont transmit any position of detected units.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: putting enemies 2 sleep
« Reply #4 on: 09 Aug 2007, 02:43:02 »
what about detection trigers ?
it doesnt fool detection trigs

LCD OUT
« Last Edit: 09 Aug 2007, 02:45:42 by LCD »
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: putting enemies 2 sleep
« Reply #5 on: 09 Aug 2007, 02:47:21 »
Detection triggers dont trigger in that situation. Captives are in fact sleeping units with eyes open  :P

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: putting enemies 2 sleep
« Reply #6 on: 09 Aug 2007, 02:48:41 »
no i just tested it... detection trigers do triger if a captive sees me

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: putting enemies 2 sleep
« Reply #7 on: 09 Aug 2007, 02:52:08 »
You are right, by mistake I set the enemy group also captive, so both groups ingored to each other. Forget the idea bout the captives  :no:

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: putting enemies 2 sleep
« Reply #8 on: 09 Aug 2007, 02:56:09 »
im gonna use diffrent knowsabout settings 4 every group nd dis st00pid soldier... but i dont know da magic number dat ArmA uses (knowsabout magic number... da number after wich da enemy knows if u r enemy or not)

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re: putting enemies 2 sleep
« Reply #9 on: 09 Aug 2007, 03:25:54 »
Can't you just add a fired event handler and have it hint the knowsAbout level when it trips? That will get you close.
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08

Offline Cheetah

  • Former Staff
  • ****
Re: putting enemies 2 sleep
« Reply #10 on: 09 Aug 2007, 13:09:49 »
Remove all the ammo?  :confused:
Like missions? Help with Beta Testing! or take a look at the OFPEC Missions Depot for reviewed missions!

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: putting enemies 2 sleep
« Reply #11 on: 09 Aug 2007, 14:05:39 »
You may put the enemy prone soldiers as captive and careless. I think captives are not east/weast so detected by trigger should not trigger.

Offline Cheetah

  • Former Staff
  • ****
Re: putting enemies 2 sleep
« Reply #12 on: 09 Aug 2007, 14:19:47 »
Hmm. If all that stuff doesn't work, you might try to group him with a civilian colonel (probability: 0%).
Like missions? Help with Beta Testing! or take a look at the OFPEC Missions Depot for reviewed missions!

Offline Dash5

  • Members
  • *
Re: putting enemies 2 sleep
« Reply #13 on: 10 Aug 2007, 02:39:07 »
Try this:

soldier1 stop true; soldier1 setUnitPos "UP";

Works like a charm for me!

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: putting enemies 2 sleep
« Reply #14 on: 10 Aug 2007, 08:20:51 »
here is what i did....

i used da knowsabout command 4 every1 (removed da detection triger) and set da sleepin man as captive... and put him on sleepin anim (it actually looks good :D... and he wakes up with a smoth anim transition) now i used mandos getpos 2 check... if da player is standin or crouching near him he wakes up if he is prone he stays asleep... if ny1 fires he wakes up... unless its a silenced weapon... :D

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta