Tutorial: Eden 3D Editor Making AI Sit [Arma 3]
Вставка
- Опубліковано 11 вер 2024
- Commands:
For using arrow..
[this,"SIT1","ASIS",arrow1] call BIS_fnc_ambientAnim;
For wooden chair..
[this,"SIT1", "ASIS"] call BIS_fnc_ambientAnim;
0 = this spawn {waitUntil {behaviour _this == "combat"};
_this call BIS_fnc_ambientAnim__terminate;}
Btw, I noticed when watching the vid that I pasted the wooden chair command onto the wooden chair instead of the ai and that's why he didn't sit the first time. Lol. Didn't feel like rerecording this vid to fix that but I think you got it anyway. Cheers.
Made this vid for a guy on Reddit who had the same troubles as I did when trying to place an ai on a chair. After trying different commands, this is what worked best for me. If this helps anyone else out, awesome.
I know this video is older than the heavens but I have been coming back here ever since this video was just a few months old
Thanks for the code my ol' dude
Thank you much! I tried this with folding chair and camping table, and the command with the arrow thing worked perfectly!
+y-shin Sweet. For some reason it's so satisfying when this stuff works lol.
I really appreciate these videos man, been away from my gaming rig for a year now and was dying to play some sim games. Found out Arma 3 ran on my work laptop and gave it a shot! Never worked with a game editor before but been having good fun with this one! Appreciate the help man!
THANK YOU SO MUCH!! Been trying to do this since Arma 2 =D. You are awesome!
Glad it helped. Thanks for the sub!!
=D
6 years later you still helped me! thanks man!
Chair simulator 2017.
Finally. Commands that work.
Just wanted to say thanks for the video.
Thanks mate - really helpful!
Thanks alot! Great vid
attachTo is also a way, just you need much more scripting to make AI react to enemy and die
Just use Achilles lol on the fly instead of before mission
But what if you at some point want them to get out of their chair when they get shot at?
Mega thanks for this video!
been using 3d editors since 2014, this has it bonuses but is not fully there, no gamemode is compatible with it yet, i still use my 3d editor, and plus now everyone has assess to a easy 3d editor , its harder to find paid jobs for map editing
Wait so why wouldn't you just name the chair "chair1" and do the same command?
How this works: [your unit name(or just _this), 'animation name', 'gear settings(you can delete his weapon+vests and stuff by setting 'NONE' or leave as it is with 'ASIS'), 'optional parameter which sometimes doesn't work properly'. ] call_function.
But the problem is, that even if engaged, this unit will not leave this animation state, sometimes even make it after death. So, what you are doing at 04:34 is giving him default animation when engaged(going to combat state). But, most of animations delete character weapon, so you can either write a ton of code to store/restore it, or just spawn magazines+weapon on his back while doing first animation.
All in all, you could just call animation and adjust the soldier to the chair/table/stone/etc manually. You can see full list of animation at tools - functions viewer, select A3 in 1st checkbox, ambient in the second one.
How would I have enemy AI react? They are brain dead in this state.
the unit I placed siting on the chair, starts sinking in the ground, it just passes through trought the chair, building and ground
awesome,m8...many thx
Nice video, thanks por posted it! But I have a dubt: how can I say to them stand up? I try the comands "move there", "regroup" and they do not movie. Thanks!
Hey dude - Brand new to A3 Editing, creating a scenario where a interrogator (Opfor) is interrogating Survivor (Blufor). When the mission starts the Opfor immediately gets out of the chair and runs away. Any Suggestions to keep him sitting?
Thanks In advance - quick & easy tutorial - subbed.
Just give an OPFOR leader to the Bluefor survivors. Make the OPFOR leader's probability of presence "0"(it's a slider from 100 to 0) . The survivors Won't be recognised as an "enemy"
Why bother with the 'pointer'? Just name the chair and use that variable name instead.
nice vid. helped me out. just one question. is there a way to place a dead unit on a chair aswell? cheerz!
Not sure but that would be cool.
+T.Mace yeah, a friend and i trying to figure it out. when we got a solution i will let you know ;)
+chaons Cheers, def hit me back if you find out.
+chaons that will be so cool if you find the solution ;)....
+Chris it seems like it dosn't work. i tried different things, talked to few people who are really into scripting and stuff, but noone had an solution.
I'm making a scenario where player survived the crash needs to get up from ground. Do you cnow how to make that?
what would be a code if you want to place civilian to sit? I mean would you change anything?
[this,"SIT1","ASIS",arrow1] call BIS_fnc_ambientAnim;
I assume only this would be changed( call BIS_fnc_ambientAnim; ) right?
I don't think you will have to change anything. Give it a try!
I tried but my Character is half of him under ground
thanks mate
how do you get them to face certain directions?
Good Thanks
does this work in Multiplayer mission as well?
Ya should work fine. I'm not sure if you can make the sitting ai playable though. That would be worth testing.
when i try the lean on table aim he falls through the table
Get the mod 3den enhanced. A lot of easy to use features including combat and non combat animations.
Now, if you really want to get creative, you can fiddle around with AttachTo commands and you could potentially make them sit on vehicles and stuff while its moving. Idk, really, I'm a noob.
That's an interesting idea but I'm not sure it would for for moving objects. If you try it let us know!
How to make them get up?
thats what she said!
it dosent work for me
Make sure you use the code he put in for the office chair not the wooden chair because he slightly messed up the wooden chair as you can see lol.