ReachedTarget (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Sncplay42
fix
>Sncplay42
also...
Line 3: Line 3:
|arguments =
|arguments =
|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.
|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.
|object = [[RocketPropulsion]]
|object = RocketPropulsion
|}}</onlyinclude>
|}}</onlyinclude>
|}
|}

Revision as of 17:09, 8 July 2011

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: RocketPropulsion
Example
game.Workspace.Part.RocketPropulsion.ReachedTarget:connect(function()
  print("Reached target")
end)