I have written a GeSHi syntax file for maxscript. This allows anything that uses GeSHi, like WP-Syntax, to properly highlight maxscript syntax. As an example, this below is the maxscript version of the MBuilder code to print out a position every frame.
fn timeSink obj = ( for i = animationrange.start to animationrange.end do ( at time i (print obj.position) ) ) start = timeStamp() timeSink (selection as array)[1] end = timeStamp() format "Processing took % seconds\n" ((end - start) / 1000.0) |
You can grab my syntax file [here]
The post GeSHi Maxscript Syntax Highlighting appeared first on Stumbling Toward 'Awesomeness'.