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 03-30-2007, 04:32 AM
colin012 colin012 is offline
That never happened...
colin012's Avatar
Join Date: Feb 2006
Location: Under your bed.....
Posts: 321
colin012 is on a distinguished road
Quote:
Originally Posted by killerogue View Post
PHP Code:
function onCreated() {

setimg"whateverimage.png" );
setshape1,32,32 );
seteffect0,0,0,);
drawaslight();
}

//#CLIENTSIDE

function onPlayerTouchesMe() {

showani("openaniblah");
addweapon("whatever weaponyyouwanttoadd");


E: You should take the time to read the wiki. You can learn alot of things and it shows you differences between GS1 and GS2. Also, GS2 you cannot use offline. You can only use Gs1 in the editor thanks. :] -> http://wiki.graal.net and http://wiki.graal.us for your use in learning. God speed.

It's not a weapon though. It's the fourth sword right after lizerd
__________________
Dude! It's a skirt...
Quote:
Originally Posted by Elizabeth View Post
Good lord it looks potent...
Reply With Quote
  #2  
Old 03-30-2007, 04:42 AM
killerogue killerogue is offline
Registered Omega
killerogue's Avatar
Join Date: Apr 2006
Location: United States
Posts: 1,920
killerogue is on a distinguished road
Send a message via AIM to killerogue Send a message via MSN to killerogue
Quote:
Originally Posted by colin012 View Post
It's not a weapon though. It's the fourth sword right after lizerd
>.>


player.swordimg = "Blah";

I think that's the correct syntaxing.
__________________


REMEMBER, IF YOU REP ME, LEAVE A NAME!

Quote:
Originally Posted by haunter View Post
Graal admins don't die. They go to hell and regroup.
Quote:
Originally Posted by Inverness View Post
Without scripters, your graphics and levels wouldn't do anything but sit there and look pretty.
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 02:11 PM.


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