Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-30-2006, 12:02 AM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
noplayeronwall();

hrm, is this only serverside?
or how do i use it right, i tried it clientside, used at the start of the onTimeout thing =/ onwall2() still recognizes players as walls
Reply With Quote
  #2  
Old 09-30-2006, 12:32 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Only serverside.
Reply With Quote
  #3  
Old 09-30-2006, 04:31 AM
ZeroTrack ZeroTrack is offline
G2K1 Developer
ZeroTrack's Avatar
Join Date: Apr 2004
Location: LongIsland, NY
Posts: 402
ZeroTrack is on a distinguished road
Send a message via AIM to ZeroTrack
Quote:
Originally Posted by projectigi View Post
hrm, is this only serverside?
or how do i use it right, i tried it clientside, used at the start of the onTimeout thing =/ onwall2() still recognizes players as walls
Nice place for save to come in handy again

PHP Code:
function onPlayerEnters(){
  if(
noplayeronwall()) save[0] = 1//True
    
else save[0] = 2//False
}

//#CLIENTSIDE
//Run through your checks again and setTimer
function onTimeout(){
  if(
save[0] == 1//do true statement here
    
else // do false statement here

__________________

Reply With Quote
Reply


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 08:11 PM.


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