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 11-18-2001, 10:52 AM
SabreKnot SabreKnot is offline
Registered User
SabreKnot's Avatar
Join Date: Nov 2001
Posts: 524
SabreKnot is on a distinguished road
Smack wall this.Variable+=1

THe title pretty much says it all. Let me igve you the basics....

I have a hammer. All it does is change my ganis to paxe.ganis. I also have a wall that changes gif depending on the variable *this.raine*. Anyways, I need it so if I am standing right next to the wall (it is an NPC btw, a gif I drew) and I use the hammer, if it looks like it is hitting the wall i need this.raine to go up 1.

So basically:

Grab hammer. Run to wall. Use it so that it looks like the hammer is hitting wall. This causes this.raine+=1.

I dont know how to make it so if i am standing right next to the wall and use the hammer it will make the WALL's variable go up 1.
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 02:21 PM.


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