Bloodshot has written
First, you have to find out the ID of the tree. This is only really possible in the editor. Then do
The TreeRaptorX, Y, and Z variables can be any name you want, as long as you have a dollar sign before them.
1
2
3
4
2
3
4
$TreeRaptorX=Getx("object",the ID of the tree); $TreeRaptory=Gety("object",the ID of the tree); $TreeRaptorZ=GetZ("object",the ID of the tree); Create "unit",2,$$TreeRaptorX,$TreeRaptorY,$TreeRaptorZ;
The TreeRaptorX, Y, and Z variables can be any name you want, as long as you have a dollar sign before them.
its says "ext" is an unknown script command? I just copied and pasted it from your post after on:trigger and changed the inputs.