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-20-2002, 01:54 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
ignorant NPC

here it is can someone help me:
NPC Code:

NPC Code:

// NPC made by NyghtGT (Admin)
// SP Agent's Toy's (Super-Saiyin)
if (created) {
hide;
}
if (playerenters) {
toweapons Super-Saiyin;
}
if (weaponfired) {
say2
Super Saiying Thingy#b
'super on' - turns super on#b
'super off' - turns super off;
}
if (playerchats) {
if (strequals(#c,super on)) {
setplayerprop #c,;
showimg 103,d-saiyin.gif,playerx,playery;
timeout=0.05;
}
if (strequals(#c,super off)) {
setplayerprop #c,;
hideimg 103;
timeout=0;
}
}
if (timeout) {
updatesaiyin();
timeout=0.05;
}
// Functions
function updatesaiyin() {
showimg 103,d-saiyin.gif,playerx,playery;
}




sorry for asking for quite a bit of help lately, just trying to take care of buisness...
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 01:20 PM.


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