Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-06-2006, 07:06 PM
Fox1545 Fox1545 is offline
Registered User
Join Date: Jul 2004
Posts: 78
Fox1545 is on a distinguished road
Scripting collab!

So as the dudes in all the other development forums are doing awesome collaborations, the scripting forums should have something similar!

I am going to post a snippet of code, and someone else contributes by adding another snippet. I suppose we should try to keep the code valid at all times, regarding clean formatting and KSI-GS conformance, and actual functionality.

Sorry about the old-GS usage, but I am not exactly experienced with the newer dialect!
NPC Code:

if (created) {
showcharacter;
// fill in look here

rupees = 1000;

message Hello there, visitor of the forums!;
}

if (playertouchsme) {
// fill in code here
if (rupees == 0)
destroy;
}


oh god i have no idea where this is going
Reply With Quote
 


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 05:11 PM.


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