View Single Post
  #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