OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: LCD 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
-
untested, but unit disableAI "AUTOTARGET" could be worth a try.
-
does not work...
thx 4 da sugestion tho
LCD OUT
-
Just set the sleeping units as captive. Captives dont engange and dont transmit any position of detected units.
-
what about detection trigers ?
it doesnt fool detection trigs
LCD OUT
-
Detection triggers dont trigger in that situation. Captives are in fact sleeping units with eyes open :P
-
no i just tested it... detection trigers do triger if a captive sees me
LCD OUT
-
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:
-
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
-
Can't you just add a fired event handler and have it hint the knowsAbout level when it trips? That will get you close.
-
Remove all the ammo? :confused:
-
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.
-
Hmm. If all that stuff doesn't work, you might try to group him with a civilian colonel (probability: 0%).
-
Try this:
soldier1 stop true; soldier1 setUnitPos "UP";
Works like a charm for me!
-
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