Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   1 script for newbies (https://forums.graalonline.com/forums/showthread.php?t=17631)

fireball_dolphonia 11-23-2001 07:33 AM

1 script for newbies
 
if (created) {
setimg light2.png;
dontblock;
}
//#CLIENTSIDE
if (playerenters) {
setcoloreffect 1,1,1,0.99;
drawaslight;
}

SSRobgeta 11-25-2001 05:30 AM

Re: 1 script for newbies
 
Quote:

Originally posted by fireball_dolphonia
if (created) {
setimg light2.png;
dontblock;
}
//#CLIENTSIDE
if (playerenters) {
setcoloreffect 1,1,1,0.99;
drawaslight;
}

Did you know your a *****?

Mustang1988 11-25-2001 05:33 AM

Is this spam or a joke?

grim_squeaker_x 11-25-2001 05:34 AM

NPC Code:
if (grimsqueaker.status==baffled) {
post(weird,stuff);
;P;
}


SSRobgeta 11-25-2001 05:35 AM

No, I don't think it's a spam or a joke. I think he thinks he's the best scripter ever.

kyle0654 11-25-2001 05:35 AM

NPC Code:

// NPC made by Stefan Knorr
//#COMMENTS The standard light, all values between 0 and 1
//#EDIT Red 1
//#EDIT Green 1
//#EDIT Blue 1
//#EDIT Alpha 0.99
if (created) {
setimg light2.png;
dontblock;
}
//#CLIENTSIDE
if (playerenters) {
setcoloreffect Red,Green,Blue,Alpha;
drawaslight;
}


It's a default NPC...you should have explained how to use them ;)

SSRobgeta 11-25-2001 05:37 AM

Did you ever notice that fireball_dolphonia is always in NPC Scripting and he can't even script?

SSRobgeta 11-25-2001 05:39 AM

1 Attachment(s)
He probly steals peoples work lol

SSRobgeta 11-25-2001 05:40 AM

Look at my beautiful Poe Mole! I made it ;). It's a creature that roams around on Renegade.

mikepg 11-25-2001 08:04 AM

...
 
I like the predifined npc thingy

Falcor 11-25-2001 08:12 AM

Prefabs are nice =)

I can script stuff and put them in there and add them to levels when i need it. like waterfall effects and stuffs.

SkooL 11-25-2001 04:50 PM

Iracious:

Predefined NPCs are fun. =)

-Iracious

nyghtGT 11-25-2001 04:54 PM

that npc is predefined

SSRobgeta 11-26-2001 02:14 AM

It is. :cool:

-_Soulhunter_- 11-26-2001 10:42 PM

:spam:

adam 12-09-2001 04:47 AM

shouldn't those be this.vars?

if you have 2 lights of different colors in the same level...

won't they both end up the same color becouse it's just a regular var... red.... green.... blue...

maximus_asinus 12-09-2001 05:28 AM

One guy posted about Renagade.Thats a l33t server.........OH WAIT! IT GOT REJECTED!

Sennema 12-09-2001 05:54 AM

Quote:

Originally posted by Falcor
Prefabs are nice =)

I can script stuff and put them in there and add them to levels when i need it. like waterfall effects and stuffs.

Yeah they are nice, except I hate using setshape and if you dont it screws up all the predefined npcs and when you load the level it says "Variant is not an array" and crashes the level.

...At least, it did to me...

aesquivel 12-09-2001 07:34 AM

Quote:

Originally posted by Sennema


Yeah they are nice, except I hate using setshape and if you dont it screws up all the predefined npcs and when you load the level it says "Variant is not an array" and crashes the level.

...At least, it did to me...

thats *** its never happened to me !!:D

ShockwaveISTHEBEST 12-09-2001 09:20 AM

Spare us the DragonballZ


All times are GMT +2. The time now is 08:22 PM.

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