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 03-30-2002, 04:37 AM
Gohan43331 Gohan43331 is offline
Registered User
Join Date: Jan 2002
Posts: 87
Gohan43331 is on a distinguished road
Send a message via AIM to Gohan43331
Slight problem with hideplayer

I have a script that hides the player for .05 and then moves the player to 1,1 while keeping the focus on the old playerx,playery...

I then have a timeout loop (.05) that hides the player for .05...

When i go to remove these effects, everything is good, but the player never unhides....

I've tried hideplayer 0, hideplayer .05, but he never comes back (he went off into the void...)

Bleh....is there a command to show the player after hideplayer(2);?

Gohan
Reply With Quote
  #2  
Old 03-30-2002, 06:32 AM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road
-=Josey=-
I do belive, on a pay-to-play server, that you can use hideplayer2; and showplayer;. I'm not exactly sure. Someone correct me if I'm wrong.
__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
Reply With Quote
  #3  
Old 03-30-2002, 07:08 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
I have not used hideplayer since months / years,
normally it should not work anymore in online mode.
You can use showstats to hide the player/s
Reply With Quote
  #4  
Old 03-30-2002, 11:07 AM
Gohan43331 Gohan43331 is offline
Registered User
Join Date: Jan 2002
Posts: 87
Gohan43331 is on a distinguished road
Send a message via AIM to Gohan43331
Quote:
Originally posted by Stefan
You can use showstats to hide the player/s
Doh...after looking through my code, guess who i find:

NPC Code:

showstats 0;


Feels quite stupid

Gohan
Reply With Quote
  #5  
Old 03-31-2002, 06:24 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
hehe
Reply With Quote
  #6  
Old 03-31-2002, 09:06 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
i did that a few times...:-/ i am sooo retarded...
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #7  
Old 04-01-2002, 08:55 PM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
if you hide the player with showstats, that hides it for everyone if its online??

i didnt know that
__________________
[signature]insert here[/signature]
Reply With Quote
  #8  
Old 04-02-2002, 12:29 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
Quote:
Originally posted by Stefan
I have not used hideplayer since months / years,
normally it should not work anymore in online mode.
You can use showstats to hide the player/s
Years?!?! *goes crazy*
Its probably benn months for me.
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #9  
Old 04-02-2002, 07:12 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
showstats 512; should hide online. because its hiding the player and making inviso...
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #10  
Old 04-02-2002, 09:30 AM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
Quote:
Originally posted by Kaimetsu


Yes, but I was always under the impression that showstats' purpose was only to change what was shown on the user's screen. Why else would the player himself be grouped with things like the hud components?
i was also under the same impression, we may be wrong though

Stefan, what is right?
__________________
[signature]insert here[/signature]
Reply With Quote
  #11  
Old 04-02-2002, 10:32 AM
royce royce is offline
Banned
royce's Avatar
Join Date: Sep 2001
Location: Yakitinzen, China
Posts: 2,271
royce is on a distinguished road
Send a message via AIM to royce
Test it online people -_-.
Reply With Quote
  #12  
Old 04-02-2002, 11:54 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Quote:
Originally posted by screen_name
if you hide the player with showstats, that hides it for everyone if its online??

I dont think so since you can hide the status bars and stuff and those only show locally for you...
Reply With Quote
  #13  
Old 04-03-2002, 06:10 AM
Bomy2Dope Bomy2Dope is offline
Registered User
Join Date: Mar 2002
Location: Germany
Posts: 157
Bomy2Dope is on a distinguished road
Send a message via ICQ to Bomy2Dope
Quote:
Originally posted by Stefan
hehe
spammer
__________________

Reply With Quote
  #14  
Old 04-03-2002, 08:06 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
I'll go and test it online, i'll edit this post with my results.

Results:
NPC Code:

showstats 0;
Hides all players for the current player, has no effects on others.
showstats 512;
It didn't appear to do anything...:-/
showstats 1024;
Shows only the player...



showstats - FAIL!!!
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it

Last edited by Saga2001; 04-03-2002 at 08:43 AM..
Reply With Quote
  #15  
Old 04-03-2002, 10:07 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
-FooL-

Well if you wanna be complex, you could always put the player off-screen and use setfocus... basically the same as hideplayer, albiet with limited controls...
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #16  
Old 04-11-2002, 11:25 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
Quote:
Originally posted by Bomy2Dope

spammer
hehehhe that sig mad eme laugh as soon as i saw it lol


funny picture :-P
Reply With Quote
  #17  
Old 04-19-2002, 06:12 AM
Deadly_Killer Deadly_Killer is offline
Registered User
Join Date: Feb 2002
Posts: 227
Deadly_Killer is on a distinguished road
Post Hide Player

So wait. We can't make it hide player anymore.
NPC Code:

// NPC made by Zell
if (playertouchsme) {toweapons Hide;
}
if (weaponfired) {
if (!hideon) {
set hideon;
}else unset hideon;
}
if (hideon) {
timeout = .05;
}
if (hideon&&timeout) {
hideplayer .05;
}


__________________
- Zidane / Zidaya
Reply With Quote
  #18  
Old 04-19-2002, 06:54 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
Re: Hide Player

Quote:
Originally posted by Deadly_Killer
So wait. We can't make it hide player anymore.
NPC Code:

// NPC made by Zell
if (playertouchsme) {toweapons Hide;
}
if (weaponfired) {
if (!hideon) {
set hideon;
}else unset hideon;
}
if (hideon) {
timeout = .05;
}
if (hideon&&timeout) {
hideplayer .05;
}


yeah we can, but I think there was some kinda problem with this guy's script.
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
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 01:45 AM.


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