Leak Society - The Home Of Nulled Resources.
Forum Beta v1 Now Live!
[GM/Applescript/UNIX] speak
Thead Owner : Kurt Manion, Category : Everything Coding, 0 Comment, 77 Read
Viewers: 1 Guest(s)
Member
***
167
Messages
19
Threads
0
Rep
4 Years of Service
08-25-2011, 08:28 PM
#1
The least used command in GM is the Applescript command, mostly because it requires learning another language. The only reason I decided to try it out was because, I thought I could find some stuff on the internet, and found out that you can also run Terminal commands through Applescript. and since I knew how to make it speak I wrote up this cmall little block
Code:
BEGIN APPLESCRIPT
do shell script "say kurt"
END APPLESCRIPT
very simple, and great reaction speed considering its running UNIX through Apple script through GameMaker.

For variations of the say command, that could make your game a bit more talkative. Type 'man say' into the terminal for more on the say command.


Forum Jump: