SetMarkerSize: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Needs_Checking|Will not accept varible for markersize arg. I wanted to make a gradually fading ball of light for an explosion.}}
__NOTOC__
__NOTOC__
This function sets the size of the specified marker. The function returns false if it fails.
This function sets the size of the specified marker. The function returns false if it fails.

Revision as of 23:24, 26 December 2006

Dialog-information.png This article needs checking.

Reason(s): Will not accept varible for markersize arg. I wanted to make a gradually fading ball of light for an explosion.


This function sets the size of the specified marker. The function returns false if it fails.

Syntax

bool setMarkerSize ( marker theMarker, float size )

Required Arguments

  • theMarker: The marker that you wish to retrieve the size of.
  • size: The new size of the marker.

Example

This example creates a marker at the position 1000, 1000, 1000 and sets it's size to 2.5.

newmarker = createMarker ( 1, 1000, 1000, 1000, 1,0,0 )
setMarkerSize ( newmarker, 2.5)

See Also