Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-28-2002, 12:18 AM
Frolic_RC2 Frolic_RC2 is offline
Banned
Join Date: Jan 2002
Posts: 960
Frolic_RC2 is on a distinguished road
We need some shortcut commands..

Heh, sometimes it gets tiring scripting things like "playernear" and such...

It should be integrated into graal, shortening our scripts and making it easier...

Post what commands should be integrated to make things easier here.

My suggestion is playnear...

playernear(x,y,radius(from x,y));

So you could do...

if (playernear(10,10,2)) {
message Hey;
}else{
message ;
}

If the player is within the radius given, from the point 10,10, the NPC will say Hey. As long as he is in that location, it will continue to say Hey. Once he leaves, it will no longer...

Heh, just post your shortcut commands here anyway
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 07:59 AM.


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