$mygun glue $my_script_origin
$my_script_origin bind $helecopter
i did it and i succeeded
but i cant adjust mg42's direction
i changed mg42's direction
but no effect
i changed script_origin's direction
failed again
i have no idea more
i attached mg42 to mover,but another problem occured
Moderator: Moderators
script_origin
Bind another script_origin outside to act as the starting target. Then have the gun target it with "vector_toangles".
$my_gun vector_toangles $my_gun_target
That's one way.
$my_gun vector_toangles $my_gun_target
That's one way.
I don't think that you can use a mg that way on a moveable helecopter . All you can do is maybe bind it instead of glueing it . It still may not be usable it was never ment to be used that way . You can make a target and glue the gun etc but I don't think you can use it just make it autofire and aim it at a target useing script .
woops............... bind
i did again below
$mygun bind $mover
past, it is not effective
but now.........effective
i cant understand...maybe my mistake
problem solved
thx your co-operation very thhx
$mygun bind $mover
past, it is not effective
but now.........effective
i cant understand...maybe my mistake
problem solved
thx your co-operation very thhx
