Last active
December 13, 2020 04:05
-
-
Save masala-man/d2fbf262a1d0c5d63549e321d7b03d26 to your computer and use it in GitHub Desktop.
[Chair Seating] Arma 3 script that makes a given unit sit on a chair #arma
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//attaching to chair | |
unitName setBehaviour "SAFE"; | |
unitName switchMove "InBaseMoves_SittingRifle2"; | |
unitName disableAI "anim"; | |
unitName attachTo [chairName,[0,0,-0.5]]; | |
//detaching from chair | |
detach panzerA1; | |
panzerA1 setPos (c1a modelToWorld [0,-1,0]); | |
panzerA1 setBehaviour "AWARE"; | |
panzerA1 enableAI "anim"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment