Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-31-2001, 12:26 AM
DarkPyro_2001 DarkPyro_2001 is offline
Über-1337 Member
DarkPyro_2001's Avatar
Join Date: Jun 2001
Location: Graal Classic Jail
Posts: 1,184
DarkPyro_2001 is on a distinguished road
Send a message via ICQ to DarkPyro_2001 Send a message via AIM to DarkPyro_2001 Send a message via Yahoo to DarkPyro_2001
x+=0.5

I heard Stefan was working on it, but has anyone noticed how NPCs with x=+.5 in the script move .5 to the right every time someone interacts with them? Just curious.
__________________
Friends University of Central Kansas... weird acronym, weird place.

NoFace (3/25/02 8:42:10 PM):
Mass message:
how do u get the trident to work?

Last edited by DarkPyro_2001; 12-31-2001 at 01:25 AM..
Reply With Quote
  #2  
Old 12-31-2001, 01:10 AM
konidias konidias is offline
Old Bee
konidias's Avatar
Join Date: Jul 2001
Location: Orlando, FL
Posts: 7,222
konidias will become famous soon enough
Send a message via AIM to konidias
Re: x=+.5

Quote:
Originally posted by DarkPyro_2001
I heard Stefan was working on it, but has anyone noticed how NPCs with x=+.5 in the script move .5 to the right every time someone interacts with them? Just curious.
x+=0.5;
not
x=+.5;
__________________

Put this image in your sig if you support Bomy Island! (g2k1 revision)
play bomberman while you wait!


Reply With Quote
  #3  
Old 12-31-2001, 01:25 AM
DarkPyro_2001 DarkPyro_2001 is offline
Über-1337 Member
DarkPyro_2001's Avatar
Join Date: Jun 2001
Location: Graal Classic Jail
Posts: 1,184
DarkPyro_2001 is on a distinguished road
Send a message via ICQ to DarkPyro_2001 Send a message via AIM to DarkPyro_2001 Send a message via Yahoo to DarkPyro_2001
Re: Re: x=+.5

Quote:
Originally posted by konidias


x+=0.5;
not
x=+.5;
Argh, I always get it wrong. I could have sworn I did it the first one, rather than the latter.

You know, you should be able to change the subject of the thread when you edit it so it shows on other pages like it does when you change it on the thread's pages.
__________________
Friends University of Central Kansas... weird acronym, weird place.

NoFace (3/25/02 8:42:10 PM):
Mass message:
how do u get the trident to work?
Reply With Quote
  #4  
Old 12-31-2001, 01:33 AM
kyle0654 kyle0654 is offline
-. .`
kyle0654's Avatar
Join Date: Mar 2001
Posts: 1,000
kyle0654 will become famous soon enough
It's not Stefan's problem. The scripts are the problem. If you have something like this:
NPC Code:

x+=.5;
if (playertouchsme) {
message hi;
}



Then every action that triggers that npc (playertouchsme, washit, playerenters, etc.) will move it, since it will run past the x+=.5 part every time, which has no conditions for running.
Reply With Quote
  #5  
Old 12-31-2001, 04:29 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
888 POSTS!! OMG LIKE KYLE IS A LUCKY PERSON! GO VEGAS NOW!
__________________

subliminal message: 1+1=3
Reply With Quote
  #6  
Old 12-31-2001, 07:23 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
Kyle: We're talking about if(created) x+=0.5;

For the last two versions, if(created) runs the first time any given player enters the level, or whenever a person logs on in that level, or something. Since I, for one, do not particularly like the idea of going through all 5000 levels on Classic and changing x+=0.5 to x=30.5, I'd much rather Stefan fix if(created)
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #7  
Old 01-01-2002, 01:48 PM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
Quote:
Originally posted by Tyhm
Kyle: We're talking about if(created) x+=0.5;

For the last two versions, if(created) runs the first time any given player enters the level, or whenever a person logs on in that level, or something. Since I, for one, do not particularly like the idea of going through all 5000 levels on Classic and changing x+=0.5 to x=30.5, I'd much rather Stefan fix if(created)
maybe since the npc is moved it logs the position of the npc and when a player comes back it loads that then moves it ??
or something?
well just do
if (playerenters) { x=30.5; }
or something
__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote
  #8  
Old 01-03-2002, 12:32 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
Quote:
Originally posted by Falcor
888 POSTS!! OMG LIKE KYLE IS A LUCKY PERSON! GO VEGAS NOW!
I think 777 is more lucky
Reply With Quote
  #9  
Old 01-03-2002, 05:42 AM
IceFire_TK IceFire_TK is offline
Banned
Join Date: Nov 2001
Location: O' Canada
Posts: 375
IceFire_TK is on a distinguished road
Send a message via AIM to IceFire_TK Send a message via Yahoo to IceFire_TK
Re: x+=0.5

Quote:
Originally posted by DarkPyro_2001
I heard Stefan was working on it, but has anyone noticed how NPCs with x=+.5 in the script move .5 to the right every time someone interacts with them? Just curious.
LOL!

it's x+=0.5;
not x=+0.5;
jessh!
Reply With Quote
  #10  
Old 01-03-2002, 05:44 AM
IceFire_TK IceFire_TK is offline
Banned
Join Date: Nov 2001
Location: O' Canada
Posts: 375
IceFire_TK is on a distinguished road
Send a message via AIM to IceFire_TK Send a message via Yahoo to IceFire_TK
Quote:
Originally posted by Tyhm
Kyle: We're talking about if(created) x+=0.5;

For the last two versions, if(created) runs the first time any given player enters the level, or whenever a person logs on in that level, or something. Since I, for one, do not particularly like the idea of going through all 5000 levels on Classic and changing x+=0.5 to x=30.5, I'd much rather Stefan fix if(created)
WHAT?!?! NOOO! I have to fix that on ALL my NPC characters on my playerworld! NOOO.. please fix this stefan!
Reply With Quote
  #11  
Old 01-03-2002, 05:45 AM
IceFire_TK IceFire_TK is offline
Banned
Join Date: Nov 2001
Location: O' Canada
Posts: 375
IceFire_TK is on a distinguished road
Send a message via AIM to IceFire_TK Send a message via Yahoo to IceFire_TK
Quote:
Originally posted by btedji


I think 777 is more lucky
or 666...
Reply With Quote
  #12  
Old 01-05-2002, 11:13 AM
Bhala Bhala is offline
Disgruntled Monkey
Bhala's Avatar
Join Date: Mar 2001
Posts: 779
Bhala is on a distinguished road
I like 666 the best
Reply With Quote
  #13  
Old 01-05-2002, 11:35 AM
BlKnight BlKnight is offline
Not in Use
Join Date: Mar 2001
Location: N/A
Posts: 1,527
BlKnight is on a distinguished road
Quote:
Originally posted by Bhala
I like 666 the best
*sprays with holyness spray can*
__________________
This account is no longer is use.
Reply With Quote
  #14  
Old 01-06-2002, 06:23 AM
Slaktmaster Slaktmaster is offline
man with the mastahplan
Slaktmaster's Avatar
Join Date: Apr 2001
Location: Half-way over the river styx
Posts: 4,422
Slaktmaster is an unknown quantity at this point
Send a message via ICQ to Slaktmaster Send a message via AIM to Slaktmaster
Quote:
Originally posted by LiquidIce00


maybe since the npc is moved it logs the position of the npc and when a player comes back it loads that then moves it ??
or something?
well just do
if (playerenters) { x=30.5; }
or something
Hello, thanks for repeating what Tyhm said. Try reading the posts you reply to before answering.
Reply With Quote
  #15  
Old 01-06-2002, 06:28 AM
mikepg mikepg is offline
Registered User
Join Date: Nov 2001
Location: VA, USA
Posts: 501
mikepg is on a distinguished road
Send a message via AIM to mikepg Send a message via Yahoo to mikepg
hmm

that does suck. if created should be for the whole server, not just a single account. thats what if playerenters is for
__________________
~War Lord Mpg2
Bravo Online's Asst. Staff Manager

"Sittin by the tree, sippin eggnog, waitin on christmas gifts"
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 10:16 PM.


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