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-12-2011, 06:36 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
V6 Script Function Changes

I was curious to see what kind of functionality we may have lost or gained in the latest V6 compared to previous versions. You can see the diff I generated here:

http://fp4.ca/v6diff.html

Enjoy.

Disclaimer: The lines that are removed are only removed from the generated documentation which doesn't necessarily mean they've been removed from the client (most probably are however).
Attached Files
File Type: txt scriptfunctions_client_6_0_0_7.txt (102.8 KB, 455 views)
File Type: txt scriptfunctions_client_5_1_2_0.txt (81.8 KB, 352 views)
__________________
Quote:

Last edited by fowlplay4; 08-12-2011 at 06:58 AM..
Reply With Quote
  #2  
Old 08-12-2011, 06:42 AM
Crono Crono is offline
:pluffy:
Join Date: Feb 2002
Location: Sweden
Posts: 20,000
Crono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond repute
levelorgy - float (read only)

hehehe
__________________
Reply With Quote
  #3  
Old 08-12-2011, 07:35 AM
WhiteDragon WhiteDragon is offline
Banned
Join Date: Feb 2007
Posts: 1,002
WhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to behold
Run it one of the things that make the +s green and the -s red.
Reply With Quote
  #4  
Old 08-12-2011, 08:58 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by WhiteDragon View Post
Run it one of the things that make the +s green and the -s red.
Done, looks prettier now.
__________________
Quote:
Reply With Quote
  #5  
Old 08-12-2011, 09:30 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Why does this even exist?
PHP Code:
enableganimoviereposition boolean 
Reply With Quote
  #6  
Old 08-12-2011, 10:22 PM
oo_jazz_oo oo_jazz_oo is offline
Jazz teh Awesome
oo_jazz_oo's Avatar
Join Date: Jul 2006
Location: California
Posts: 596
oo_jazz_oo is a jewel in the roughoo_jazz_oo is a jewel in the rough
Send a message via MSN to oo_jazz_oo
PHP Code:
defaultwalkspeed float specifies the speed of the default movement (by default 0.5
This is nice. However, speeds 1 and over have bad wall detection.
Thats dissapointing...
__________________

Reply With Quote
  #7  
Old 08-12-2011, 10:30 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by oo_jazz_oo View Post
PHP Code:
defaultwalkspeed float specifies the speed of the default movement (by default 0.5
This is nice. However, speeds 1 and over have bad wall detection.
Thats dissapointing...
It was only added for iphone, and they didn't need speeds over 1...
Reply With Quote
  #8  
Old 08-12-2011, 10:43 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by oo_jazz_oo View Post
Thats dissapointing...
What's not disappointing is that the default movement system has better wall detection compared to v5. Lizard shield bug and the like are eliminated. And speeds above 1 are stupid anyway ^_^
Reply With Quote
  #9  
Old 08-12-2011, 10:46 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by Crow View Post
What's not disappointing is that the default movement system has better wall detection compared to v5. Lizard shield bug and the like are eliminated. And speeds above 1 are stupid anyway ^_^
Lizard shield bug?
Reply With Quote
  #10  
Old 08-12-2011, 10:53 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by DustyPorViva View Post
Lizard shield bug?
The one where you could walk through the blocking tile to the right of you if you had the lizard shield (level 3) and your player.x was 15.5. Many other spots as well. Fixed in v6.
Reply With Quote
  #11  
Old 08-12-2011, 11:00 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by Crow View Post
The one where you could walk through the blocking tile to the right of you if you had the lizard shield (level 3) and your player.x was 15.5. Many other spots as well. Fixed in v6.
Ah ya. I imagine he didn't fix walking through single tile diagonal gaps though. Would probably hear a lot of whining about that.
Reply With Quote
  #12  
Old 08-12-2011, 11:03 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by DustyPorViva View Post
Ah ya. I imagine he didn't fix walking through single tile diagonal gaps though. Would probably hear a lot of whining about that.
I, personally, don't even consider this a bug anymore. "It's not a bug, it's a feature."

Well, it has become one.
Reply With Quote
  #13  
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
  #14  
Old 08-13-2011, 02:20 PM
Rave_J Rave_J is offline
Graal Developer
Join Date: Feb 2006
Location: Texas
Posts: 848
Rave_J can only hope to improve
Send a message via AIM to Rave_J Send a message via MSN to Rave_J Send a message via Yahoo to Rave_J
did they add function OnMouseGrab () {
what im working on would make it easier if there was

i know there is a startdrag() but
wont work like they way i want it too
__________________
Graal Developer
Reply With Quote
  #15  
Old 08-13-2011, 02:33 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
For the animations,

PHP Code:
temp.animation this.createAnimation();
temp.animation.duration 1;
temp.animation.transition "moveoutleft"
Mostly for iPhone stuff, but it also works on v6 clients. It lets you easily fade in/out or move in/out GUI objects.
__________________
Reply With Quote
  #16  
Old 08-13-2011, 06:21 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
isofflinemode() is just for other games that Stefan uses his GS2 engine for.

Key is probably just an internal class, I would guess it's related to the virtual keyboard in someway.
__________________
Quote:
Reply With Quote
  #17  
Old 08-13-2011, 06:43 PM
Rave_J Rave_J is offline
Graal Developer
Join Date: Feb 2006
Location: Texas
Posts: 848
Rave_J can only hope to improve
Send a message via AIM to Rave_J Send a message via MSN to Rave_J Send a message via Yahoo to Rave_J
Quote:
Originally Posted by fowlplay4 View Post
isofflinemode() is just for other games that Stefan uses his GS2 engine for.

Key is probably just an internal class, I would guess it's related to the virtual keyboard in someway.
i want to say he use gs2 for fairyland
so possible that something to do with fairyland
__________________
Graal Developer
Reply With Quote
  #18  
Old 08-13-2011, 07:35 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Rave_J View Post
i want to say he use gs2 for fairyland
so possible that something to do with fairyland
Quite sure Fairyland doesn't have anything to do with Cyberjoueurs/Eurocenter anymore.
Reply With Quote
  #19  
Old 08-13-2011, 07:43 PM
Rave_J Rave_J is offline
Graal Developer
Join Date: Feb 2006
Location: Texas
Posts: 848
Rave_J can only hope to improve
Send a message via AIM to Rave_J Send a message via MSN to Rave_J Send a message via Yahoo to Rave_J
not anymore but they were selling graal client as a licenses to business at one time
idk could be for one of there iphone games they have alot of them scripted with gs2
__________________
Graal Developer
Reply With Quote
  #20  
Old 09-02-2011, 07:52 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by Crow View Post
Why does this even exist?
PHP Code:
enableganimoviereposition boolean 
I think it is something to do with preventing people from changing the player's position using "movie" GANIs so that they cannot jump over walls, etc.
__________________
Skyld
Reply With Quote
  #21  
Old 09-02-2011, 07:57 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
I found this...
PHP Code:
onServerLogin(); 
Surely this is the same as...
PHP Code:
onActionPlayerOnline(); 
Or is there something different about it?
__________________
Reply With Quote
  #22  
Old 09-02-2011, 08:07 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Skyld View Post
I think it is something to do with preventing people from changing the player's position using "movie" GANIs so that they cannot jump over walls, etc.
I know. I was just questioning the existence because I believe that it shouldn't be possible to enable it again anyway.
Reply With Quote
  #23  
Old 09-02-2011, 08:14 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
Quote:
Originally Posted by Skyld View Post
I think it is something to do with preventing people from changing the player's position using "movie" GANIs so that they cannot jump over walls, etc.
Didn't Classic iPhone have a large problem with that when a "warp" gani was released among the players? And is this how they have been targeting the players who decide to use it?
__________________
Reply With Quote
  #24  
Old 09-03-2011, 04:46 PM
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
I see functions added for 3D, is there a way to use models and stuff now?
Reply With Quote
  #25  
Old 09-03-2011, 07:08 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by Cubical View Post
I see functions added for 3D, is there a way to use models and stuff now?
Yes, it's been available for a while. I had a spinning 3d spaceship the day it was added

http://wiki.graal.net/index.php/Crea...lient/TShowImg and check out the .shape part. Windows clients will need to switch to openGL mode (unless that has changed at some point)
Reply With Quote
  #26  
Old 09-03-2011, 10:11 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Actually 3D support is not part of the current v6 release. It is only enabled in versions where it is actually used (some of our iPhone games like Adrenaline Golf Online).
Reply With Quote
  #27  
Old 09-06-2011, 09:00 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
V6.0.0.7 to V6.0.1.0 Script Functions Diff
http://fp4.ca/v6diff2.html

Removed: TPlayer.shieldimg and TPlayer.swordimg
Added: TTileMap and related functions. (New Level Format Functions)
__________________
Quote:
Reply With Quote
  #28  
Old 09-06-2011, 09:01 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by Emera View Post
I found this...
PHP Code:
onServerLogin(); 
Surely this is the same as...
PHP Code:
onActionPlayerOnline(); 
Or is there something different about it?
onServerLogin is for privileged scripts I think (like the playerlist, serverlist), called clientside when the client logs into a server.
__________________
Skyld
Reply With Quote
  #29  
Old 09-06-2011, 09:33 PM
Switch Switch is offline
o.o
Switch's Avatar
Join Date: Jan 2007
Location: Philadelphia
Posts: 3,038
Switch has a spectacular aura about
Send a message via MSN to Switch
PHP Code:
+  dhd<Íôüð Ã¤Ã°Ã¸ÃÃÃ¸Ã›Ã›() - returns string 
Thank you for the information it was very helpful.
__________________
Oh squiggly line in my eye fluid. I see you lurking there on the peripheral of my vision.
But when I try to look at you, you scurry away.
Are you shy, squiggly line?
Why only when I ignore you, do you return to the center of my eye?
Oh, squiggly line, it's alright, you are forgiven.
Reply With Quote
  #30  
Old 09-07-2011, 12:04 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Skyld View Post
onServerLogin is for privileged scripts I think (like the playerlist, serverlist), called clientside when the client logs into a server.
It can also be used serverside in DBNPCs and weapons.
__________________
Reply With Quote
  #31  
Old 09-19-2011, 06:28 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
V6.0.1.0 to V6.0.1.1 Script Functions Diff
http://fp4.ca/v6diff3.html

Returned: TPlayer.shieldimg and TPlayer.swordimg
Removed (or possibly made hidden): TTileMap functions, resolvehost, adddnsentry, that corrupted looking function.
Added: getanglesfromvector(str), getdesktopresolution(), getvectorfromangles(float, float)
__________________
Quote:
Reply With Quote
  #32  
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 12:23 AM.


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