ReachedTarget (Event)

From Legacy Roblox Wiki
Revision as of 17:09, 8 July 2011 by >Sncplay42 (fix)
Jump to navigationJump to search
ReachedTarget ( )
Description Fired when the Rocket comes within TargetRadius of the Target. This is used to make the rocket work, such as make an explosion when it flies near the Target.
Member of: [[RBX.lua.RocketPropulsion (Object)|RocketPropulsion]]
Example
game.Workspace.Part.RocketPropulsion.ReachedTarget:connect(function()
  print("Reached target")
end)