Game GetFreeTrailHandle

;Usage
Trail_ID = Game.GetFreeTrailHandle()
Parameter	Type	Description
;Return Values
Value 	Type 	Description
Trail_ID	entityId	
;Examples:
<nowiki>
-- show a trail to your way point
local pos = Game.GetWayPoint();
local Trail_ID = Game.GetFreeTrailHandle();
Game.ShowTrailTo(Trail_ID, pos.x, pos.y, pos.z);
</nowiki>
Trail_ID should be reused, so initial it once at OnComponentLoad or OnPlayerReady.
;Refreence
* Game.ClearTrail
* Game.SetTrailAlpha
* Game.SetTrailColor
* Game.SetTrailRefreshRate
* Game.SetTrailTitle
* Game.ShowTrailTo
Category:Addon_API