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
  #36  
Old 10-19-2001, 02:26 AM
Birdbird_02 Birdbird_02 is offline
Registered User
Join Date: Jul 2001
Location: SCARYYTY BRHIN UR DBEAD!!
Posts: 62
Birdbird_02 is on a distinguished road
Quote:
Originally posted by dragoonvenganc
Time to analyze




//#CLIENTSIDE
<<< Dont u Need the npc weapon with trigger action u should of put the script for that 2.
<< also if using trigger action u should not need the playerx>x-3 and the rest. because it has it in it.
<< u are using trigger action right because u have actionCut
<< And so when they hit it.. if they miss at all then it restarts??

if (actionCut && playerx>x-3 && playerx<x+8 && playery>y-4 && playery<y+10)
{

<<< Why in the world would u use this. with strings has no relevince is not neccisary and is usless
<< if u have #v u do not need strtofloat.

message #s(this.Cutted1)%;
setstring this.Cutted1,#v(strtofloat(#s(this.GCutted1))+5);
putleaps 0, x, y;
}else { setstring this.Cutted1,0; message 0%;}

if (strtofloat(#s(this.Cutted1))>105)
{
setplayerprop #c,Got Thingie Ma Bobby!;
setstring this.Cutted1,0;
setstring client.JPAM,#v(strtofloat(#s(client.JPAM))+1);
hide;
sleep 30;
show;
}
The playerx,playery thing is there so if they leave it resets, it work's fine. Most of it is there because thats how I was taught.
__________________
Glenn >=]
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:42 AM.


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