I only want to change the actor speed not direction. How do I do this?
Comments
gyroscopeI am here.Member, Sous Chef, PROPosts: 6,598
Hi GamePizza, presuming you are using Change Velocity to move your actor; make an integer attribute called NewVel. Set its value to your initial speed you require.
In the Change Velocity Behavior that you have in your moving actor, for Speed, select game.NewVel (via the Expression Editor)
Drag a Timer Behavior out set to Every 0.1 seconds; put Change Velocity Behavior in it; (this is the only way, I think, to interrupt the velocity speed)
Now when you have a Change Attribute NewVel - wherever - set to the new speed activated, the actor will change speed accordingly.
Comments
In the Change Velocity Behavior that you have in your moving actor, for Speed, select game.NewVel (via the Expression Editor)
Drag a Timer Behavior out set to Every 0.1 seconds; put Change Velocity Behavior in it; (this is the only way, I think, to interrupt the velocity speed)
Now when you have a Change Attribute NewVel - wherever - set to the new speed activated, the actor will change speed accordingly.
:-)
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps