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-03-2006, 05:21 AM
Lord Sephiroth Lord Sephiroth is offline
Babylon OG
Lord Sephiroth's Avatar
Join Date: Jan 2005
Location: Winnipeg, Manitoba, Canada
Posts: 798
Lord Sephiroth will become famous soon enough
Send a message via AIM to Lord Sephiroth
Trivial little thing

I'll be the first to say that i'm not a scripter. I've never been a scripter.
But I do make events pretty good, and I need a little bit of help.
I have a script where it works exactly how I want it to, except it can't be seen by all other players.
So im asking the experts, how would I make this so that it does the same thing, (if player touches a block, it shoots an arrow with a .5 second cool down time), except it can be seen/hurt other players?

This is what I have so far:
NPC Code:

//#CLIENTSIDE
if (playertouchsme) {
if (!this.mytimer) {
shootarrow 3;
set this.mytimer;
timeout = .5;
}
}
if (timeout) {
unset this.mytimer;
}


When I unclientside it, the entire thing just doesn't work.
I know timeout and playertouchsme don't work together.
Help?
__________________
Babylonian; wherever I or it may lay.
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:59 PM.


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