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-12-2002, 05:36 AM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
Hat NPC -WHY?

This is my script.Plz tell meh whats wrong and maybe how to fix it.I think its the disabledefmovement OR triggeraction.
// NPC made by SeeD Captain /\/\ãxïmus Ðärkrïdër
if (playertouchsme) {
toweapons Hat NPC;
i=0;
}
if (weaponfired) {
set browsing;
disabledefmovement;
triggeraction playerx,playery,browsing,;
}
if (actionbrowsing) {
i=0;
showimg 200,hat#v(i).png,playerx,playery-2.5;
changeimgpart 200,96,0,55,55;
}
if (keydown(1)&&browsing) {
i++;
showimg 200,hat#v(i).png,playerx,playery-2.5;
changeimgpart 200,96,0,55,55;
}
if (keydown(3)&&browsing) {
i--;
showimg 200,hat#v(i).png,playerx,playery-2.5;
changeimgpart 200,96,0,55,55;
}
__________________
maximus_asinus
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 12:48 PM.


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