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 08-13-2011, 02:15 PM
DrakilorP2P DrakilorP2P is offline
Registered User
DrakilorP2P's Avatar
Join Date: Apr 2006
Posts: 755
DrakilorP2P is just really niceDrakilorP2P is just really nice
Any idea how these are used?
PHP Code:
TGUIAnimation (TGraalVar):
amplitude float amplitude for moveupdownmoveleftright and zoominout
currenttime 
float
delay 
float the animation starts after the specified number of seconds
duration 
float the animation will last the specified number of seconds
interval 
float interval for moveupdownmoveleftright and zoominout
tabfirstonshow 
boolean calls tabfirst() after showing the controlby default true
timing 
string timing function: 'linear' or 'sinus'sinus is only used for moveupdownmoveleftright and zoominout
transition 
string specifies the animation typefadeoutfadeinmoveoutleftmoveinleftmoveoutrightmoveinrightmoveouttopmoveintopmoveoutbottommoveinbottommoveupdownmoveleftrightflipoutleftflipinleftflipoutrightflipinrightzoominzoomoutzoominoutgrowingrowoutshrinkinshrinkoutrotateoutleftrotateinleftrotateoutrightrotateinright 
PHP Code:
Key (TStaticVar):
backspace integer (read only)
capslock integer (read only)
control integer (read only)
deletekey integer (read only)
down integer (read only)
end integer (read only)
enter integer (read only)
escape integer (read only)
home integer (read only)
insert integer (read only)
left integer (read only)
pgdn integer (read only)
pgup integer (read only)
right integer (read only)
shift integer (read only)
space integer (read only)
tab integer (read only)
up integer (read only)
addlistener(obj)
getascii() - returns integer
getcode
() - returns integer
isaccessible
() - returns boolean
isdown
(int) - returns boolean
istoggled
(int) - returns boolean
removelistener
(obj) - returns boolean 
Also:
PHP Code:
isofflinemode() - returns boolean says if the game is running in offline mode (only for special packaged games
__________________
Testbed user: I figured since I can never find any scripters it was time to take desperate measures...and...TEACH MYSELF 0.0
Reply With Quote
  #2  
Old 08-13-2013, 08:02 AM
Cubical Cubical is offline
Banned
Join Date: Feb 2007
Posts: 1,348
Cubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant future
Quote:
Originally Posted by DrakilorP2P View Post
Any idea how these are used?
PHP Code:
Key (TStaticVar):
backspace integer (read only)
capslock integer (read only)
control integer (read only)
deletekey integer (read only)
down integer (read only)
end integer (read only)
enter integer (read only)
escape integer (read only)
home integer (read only)
insert integer (read only)
left integer (read only)
pgdn integer (read only)
pgup integer (read only)
right integer (read only)
shift integer (read only)
space integer (read only)
tab integer (read only)
up integer (read only)
addlistener(obj)
getascii() - returns integer
getcode
() - returns integer
isaccessible
() - returns boolean
isdown
(int) - returns boolean
istoggled
(int) - returns boolean
removelistener
(obj) - returns boolean 
Can anyone give me some insight on how these are used or a way to determine key codes with modifiers without actually having to press the key? I know about keydown2(); it's not really what I'm looking for.

Last edited by Cubical; 08-13-2013 at 08:30 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 11:53 PM.


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