View Single Post
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,978

Violet CLM has disabled reputation

Aug 15, 2013, 03:50 AM
Violet CLM is offline
Reply With Quote
(1) AngelScript has a built-in (i.e. I didn't write it) function formatInt which does what you're looking for and can output in a variety of formats. Search the documentation for details.

(2) There's no direct way of accessing input in the most recent release, but it'll turn up later. "Player-Guided Missile" on J2O is an example of indirectly testing the left and right arrow keys (or A/D or whatever the player happens to be using).
__________________