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 09-04-2001, 07:53 AM
ArmadeusWarlock ArmadeusWarlock is offline
Registered User
Join Date: Jun 2001
Posts: 373
ArmadeusWarlock is on a distinguished road
A little help...

Ok, this sounds really simple to do, but Im busy doing other things and I just cant seem to figure it out.

// NPC made by Reese (Events Team)
if (playerenters) {
}
if (playertouchsme) {
toweapons Wizard Spell Trade;
setstring spell0,0;
setstring spell1,0;
setstring spell2,0;
setstring spell3,0;
setstring spell4,0;
setstring spell5,0;
setstring spell6,0;
setstring spell7,0;
setstring spell8,0;
setstring spell9,0;
setstring spell10,0;
setstring spell11,0;
}
if(weaponfired){
set usingtrade;
timeout=0.01;
this.tx=playerx;
this.ty=playery;
}
if(usingtrade){
showimg 1,wepstuff.gif,playerx+1,playery-3; //Top Arrow
changeimgpart 1,0,0,16,15;
showimg 2,wepstuff.gif,playerx+1,playery-3; //Bottom Arrow
changeimgpart 2,17,0,16,15;
}
if(timeout){
playerx=this.tx;
playery=this.ty;
}
if(timeout&&keydown(a)){
unset usingtrade;
timeout=0;
}

If you need the image for it, I can post it. My problem is with freezing, I tried about 12938471329847219471293749 different things to freeze and it doesnt work. Freezeplayer wont work for some odd reason from how I used it. Please help me solve this, Im busy with other things and I dont have much time

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 09:54 AM.


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