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 01-12-2008, 07:36 PM
SmeewN SmeewN is offline
Registered User
Join Date: Dec 2007
Posts: 5
SmeewN is on a distinguished road
Classes help

I am having trouble placing classes, can someone give me a good example how to putnpc2?

function onCreated()
{
setimg("snicon_blank.gif")
timeout = 2;
}
function ontimeout()
{
this.destroy();
}

This is my class's script.
I can't get putnpc2 to work on an NPC or weapon.

Last edited by SmeewN; 01-12-2008 at 07:51 PM..
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 04:53 PM.


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