Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
z location
z location
02-25-2006, 12:59 AM
#1
Linera
Anyway to get the z location of an attachment point, like head or overhead?
02-25-2006, 01:04 AM
#2
shadow1500
Open the model and check the attachment's pivot point.
02-25-2006, 02:08 AM
#3
Linera
Could I attach a dummy model of the attachment and get it with GetLocationZ() or whatever the exact jass function is?
02-25-2006, 02:20 AM
#4
shadow1500
No way to get it through triggers.
02-25-2006, 02:32 AM
#5
Linera
hmm,
time for me to open WE.
02-25-2006, 06:50 AM
#6
Jacek
Open MDL of the model. Scroll down to Attachments, select attachment you want. Remember ObjectID of the attachment. Go to PivotPoints. Your attachment location x,y,z is in ObjectID row.