Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-07-2002, 02:13 PM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road
Liquid is right. Triggeraction would be the best way to do a mining script (by best I mean easiest).


//Hammer
//NPC made by Josey Hunt
if (playertouchsme) {
toweapons Hammer;
}
if (weaponfired) {
setani jhammer,hammergold.png;
triggeraction playerx+1+vecx(playerdir)*2,playery+1.5+vecy(playe rdir)*2,beingmined,3;
freezeplayer .8;
}

//Mine NPC
//NPC made by Josey Hunt
if (actionbeingmined) {
yourminescripthere;
}
__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 03:44 PM.


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