Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-20-2015, 12:57 AM
devilsknite1 devilsknite1 is offline
C:
devilsknite1's Avatar
Join Date: Jul 2006
Location: Florida, USA
Posts: 269
devilsknite1 has a spectacular aura about
Send a message via AIM to devilsknite1 Send a message via MSN to devilsknite1 Send a message via Yahoo to devilsknite1
Key object?

PHP Code:
Key object typeparent type is TStaticVar
Key
.addlistener(obj)
Key.backspace integer (read only)
Key.capslock integer (read only)
Key.control integer (read only)
Key.deletekey integer (read only)
Key.down integer (read only)
Key.end integer (read only)
Key.enter integer (read only)
Key.escape integer (read only)
Key.getascii() - returns integer
Key
.getcode() - returns integer
Key
.home integer (read only)
Key.insert integer (read only)
Key.isaccessible() - returns boolean
Key
.isdown(int) - returns boolean
Key
.istoggled(int) - returns boolean
Key
.left integer (read only)
Key.pgdn integer (read only)
Key.pgup integer (read only)
Key.removelistener(obj) - returns boolean
Key
.right integer (read only)
Key.shift integer (read only)
Key.space integer (read only)
Key.tab integer (read only)
Key.up integer (read only
Has anyone ever used this before? What does the object reference to? If it's an actual keyboard key, how do you return the object of it? Is it a MoveClip.key? If so, what the hell is that?

This is only accessible clientside apparently (?), and when I attempted to create this and output what it might do via .getfunctions(), it just output a bunch of random functions that didn't seem to add up:
PHP Code:
objecttype,clearemptyvars,loadjsonfromstring,insertarray,scheduleevent,addarraymember,geteditvarnames,savexmltostring,getarraymember,copyfrom,leave,sortascending,getfunctions,clearvars,subarray2,savejson,savevarstoarray,loadvars,isinclass,getstaticvarnames,ignoreevent,savestring,timershow,getdynamicvarnames,savevars,loadxmlfromstring,savelines,trigger,settimer,addnamedstring,loadfolder,split,getvarnames,catchevent,hasfunction,sortdescending,loadvarsfromarray,savexml,loadlines,savejsontostring,loadstring,join,loadjson,cancelevents,addarray,sortbyvalue,loadxml,loadini,ignoreevents 

Last edited by devilsknite1; 07-20-2015 at 01:12 AM..
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:05 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.