path_change_point(ind,n,x,y,speed)

From ENIGMA
Revision as of 13:31, 14 July 2013 by RobertBColton (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

Changes the point nth in the give path to position (x,y) with the given speed factor.

Parameters

Parameter Data Type Description
ind unsigned index of the path
n unsigned nth index of the point
x double x coordinate of the point
y double y coordinate
speed double speed factor (between 0 and 100)

Return Values

void: This function does not return anything.

Example Call

// demonstrates changing the second point in a path
path_chance_point(mypath, 1, 50, 50, 100);