Builder Bob
Live free or don't
- Reaction score
- 249
I'm sending the following actor message to rotate the turret of the siege tank:
This will rotate the turret to 45 degrees. My problem is that the field to enter the rotation vector does not give me an option to use any variables. I'd like to be able to rotate the attachment point in any direction, not just one predetermined one.
The following actor message allows me to specify the angle to rotate. But for this action I must specify the attachment point to rotate manually. TurretZ does not work. neither does {TurretZ 0}. They both give error messages in game.
Does anyone know how I can get either of these methodes to do what I've described?
Code:
Send Actor Message To Scope
Message: "AttachSetRotation {TurretZ 0} [COLOR="Red"]0.707107,0.707107,-0.000000[/COLOR]"
Actor Scope: Actor Scope From Unit
Unit: caster
This will rotate the turret to 45 degrees. My problem is that the field to enter the rotation vector does not give me an option to use any variables. I'd like to be able to rotate the attachment point in any direction, not just one predetermined one.
The following actor message allows me to specify the angle to rotate. But for this action I must specify the attachment point to rotate manually. TurretZ does not work. neither does {TurretZ 0}. They both give error messages in game.
Code:
Send Actor Message To Scope
Message: Attach Set Rotation
AttachMethods: "[COLOR="Red"]TurretZ[/COLOR]"
Rotation: 45.0
Actor Scope: Actor Scope From Unit
Unit: caster
Does anyone know how I can get either of these methodes to do what I've described?