Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-11-2006, 05:03 PM
Salaisuus Salaisuus is offline
Registered User
Join Date: Mar 2004
Posts: 68
Salaisuus is on a distinguished road
New stuff since 2004?

I recently returned after being away for a long time and I noticed some of my scripts dont apear to be working online.

I know the there is now gs1 and gs2 (someone direct me to a document on their differences please) but has there been some change that would disaple/ change some commands since beginning of 2005?

Edit:
Oh yeah...I guess I should read newfeatures 06...

But even so.
If there is something that disaples old scripts I could use some help here.


SECOND edit:
Oh wait, there is no newfeatures 06. I tried downloading them just now.


... non the less, for some reason trigger actions dont seem to be working on my old scripts.
So can that be because of some new functions?

Last edited by Salaisuus; 06-11-2006 at 05:34 PM..
Reply With Quote
  #2  
Old 06-11-2006, 07:05 PM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
I'm in the same boat. It all makes me head hurt, it ain't what I remember it was.

However, there's a Wiki floating around that helps sommat. And I think there's a thread either here or NewFeatures where you can request what it don't have.
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #3  
Old 06-11-2006, 07:38 PM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
http://wiki.graal.net/
http://wiki.graal.us/
Reply With Quote
  #4  
Old 06-11-2006, 09:12 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by Warcaptain

Damn you! I wanted to pull a good ol' "THE WIKI KNOWS BEST!", but oh well..'


Also might want to check Skylds Frequently asked questions about the new scripting engine
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #5  
Old 06-12-2006, 09:59 PM
Salaisuus Salaisuus is offline
Registered User
Join Date: Mar 2004
Posts: 68
Salaisuus is on a distinguished road
This is just bloody great.
All my pretty npcs are useless...


Well anyhow.
I this the new right form for hitobjects?
NPC Code:

if (weaponfired) {
hitobjects(1,playerx+1.5+vecx(playerdir)*2,playery +2+vecy(playerdir)*2);
}



Because it doesnt seem to be doing anything.
It worked when I made it the old way with out the extra ()
But other things like triggeraction I cant get to work with old or new way so Im confused.

I feel so degenerated now that I cant even get stuff like that work.
Reply With Quote
  #6  
Old 06-14-2006, 12:08 AM
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
Old scripts are still working except you are using bad variable names like this.x. On the Graal bible there is documentation for the new scripting engine and also tips for fixing scripts for the new engine, which is actually not that hard since the new engine is displaying syntax errors and runtime errors (function name not found etc.).
Reply With Quote
  #7  
Old 06-14-2006, 05:36 AM
Prozac Prozac is offline
one of the good guys
Prozac's Avatar
Join Date: Jan 2006
Posts: 245
Prozac is on a distinguished road
Send a message via AIM to Prozac
i also put some links that i think are useful for scripting in my sig here.
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:35 AM.


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