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 09-23-2002, 02:01 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
Exclamation Throwing npcs and playerenters...

Put an npc like this in a level and see what happens:
NPC Code:

if (playerenters) {
canbecarried;
message Hello!;
sleep 1;
message ;
}


You should notice that when it is thrown the playerenters event is called again. This is bad.
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial

Last edited by Dach; 09-23-2002 at 03:20 AM..
Reply With Quote
  #2  
Old 09-23-2002, 02:14 AM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to AlexH
You don't turn the message off so it would display it all the time.
You would need to put

message;

After your sleep.
__________________
QUICK LOOK BUSY JESUS IS COMING!
Reply With Quote
  #3  
Old 09-23-2002, 03:17 AM
Graal2001_NAT Graal2001_NAT is offline
Registered User
Join Date: Sep 2002
Posts: 241
Graal2001_NAT is on a distinguished road
Quote:
Originally posted by AlexH
You don't turn the message off so it would display it all the time.
You would need to put

message;

After your sleep.
its still doing that bug even when you hide the message
and as it would be nice to fix the bug, noone really uses canbecarried anymore, its all about the ganis
__________________
GONE, BAI
Reply With Quote
  #4  
Old 09-23-2002, 03:23 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
Doesn't matter how often canbecarried is used, we don't need npcs that reinitialise after being thrown. Even worse, I don't want my hockey puck to return to the center of the rink when I throw it.

Besides it didn't do this the last time I checked (don't remember when exactly) so something is buggy and needs to be fixed.
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #5  
Old 09-23-2002, 07:52 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
Quick story, once upon a time there was a flag called wasthrown

if(playerenters&&!wasthrown) might be just what you need, assuming they trigger simultaneously.

Oh, and in your animated sig, the rupees keep going up and down. It's weird.
__________________
"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
  #6  
Old 09-23-2002, 09:56 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
Heh, that was too long ago Tyhm, I forgot. I dunno about the rupees, I found the img in my temporary internet files. Thanks though, now I don't have to worry about my hockey arena that I'll be sending your way soon along with my baseball field and whatelse.
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
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 07:30 PM.


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