see these notes
In AEC Blueprints by Example he stressed the importance of design and testing, as did I in these notes.
The construction script is much like the constructor of an object. It is run when the object defined by the blueprint is instanciated or created. The purpose is to initialize the blueprint or set up the initial values of the variables.
Given valid inputs, this node will interpolate between the values of A and B.
A value between A and B.
$output = A(1-alpha) + B(alpha)$
void ChooseRandomDestination() { // class variables // int Destination // int CurrentLocation // vector Destinations[]; while (Destination == CurrentLocation) { Destination = RandBetween(0, Destinations.size()-1); } }