OFPEC Forum
Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: johnnyboy on 29 Aug 2009, 17:04:15
-
The new attachTo command allows you to attach objects to memory points on other objects.
In the Harvest Red scene where they throw flashbangs and take down a building, they used hand memory points below to put flashbangs in units' hands. My example puts beers in their hands:
beer1 attachto [dude2, [0.035,-.005,-0.05], "LeftHandMiddle1"];
beer2 attachto [dude2, [-0.03,-.005,-0.05], "RightHandMiddle1"];
Is there a list of Memory Points for objects somewhere?
What files are these embedded in?
What tool wouldI use to search that file?
What string would I look for inside the file would tell me that it is a memory point?
thanks.
-
You will find all memmory points for the soldier unit in the memmory lod in the released BIS mlod units.
for anything else you can try the arma1 mlods
i attached a pic with the names from mem lod at bottom here
but becareful because it seems attachto does not re adjust when an rtm is played and thus , you can have things not where they should be.
-
Deano: Thanks alot!
BTW, what is an RTM?
-
its the keyframe animation file that a unit ( amongst other things) plays when it runs walks crouches etc. it can be that the memory point does not move with the selection exactly so your attached object can become offset by a certain amount sometimes. i tried attaching an aircraft helmet with animated visor using the Neck memory point and it all wen pear shaped when the pilot walked and sat in the plane lol.
-
The picture of memory points from deanos is no more available...