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