# Torque Alternative Syntax | |
unless is_object(FollowMouseBehavior) | |
:template = new BehaviorTemplate(FollowMouseBehavior) | |
:template | |
.friendly_name = "..." | |
.behavior_type = "..." | |
.description = "..." | |
:template | |
.add_behavior_field(flip_x, "...", bool, true) | |
.add_behavior_field(follow_x, "...", bool, true) | |
.add_behavior_field(follow_x, "...", bool, true) | |
.add_behavior_field(tracking_speed, "...", float, 15.0) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment