![]() |
My l33t flying things is better :|
|
Antago rules.
|
Mine is compatible with all versions of Graal which allow keydown ^^. Well except that the if (keydown(6)) should be if (keyodwn(4)) in most versions.
|
why
___do ___people write ___npcs ______like ___this ? |
Because it's easy to check the coding of the NPC then in my opinion.
|
WAIT THAT WAS SUPPOSED TO BE DIFFERENT
|
re read da post
|
I find it easier to read it, keep it clean, and find stuff easier.
|
Well as I said before it's easier to read the coding of the NPC in that way ^^
|
I don't it's ugly and messy and confusing :[
|
Anybody is allowed their personal opinion in my opinion (Hmm, that sounds weird), it doesn't really matter to me as long as you don't get:
NPC Code:if(playerenters&&somethingoranotherdifferenthing)t his.thing=1;this.thing2=1;this.thing3=1; etc. |
Fai, tell me what looks better:
NPC Code: or NPC Code: Which looks easier to understand? |
Well the top one saves room.
|
Gah, I didn't ask that! >.<
|
k would someone answer a question?
if (timeout||playerenters) { timeout=.05; } if (timeout) { showimg 0,door.gif,__,__; sleep .05; hideimg 0; timeout=.05; } K in the __ spots, the x,y, i want those to be RANDOM what could i do to this to make it do what I want.:[ |
if you want something to be random just use this little script:
random(lowestpossiblenumber,highestpossiblenumber) Or if you want it to always be whole numbers: int(random(lowestpossiblenumber,highestpossiblenum ber)) |
so...
if (timeout||playerenters) { timeout=.05; } if (timeout) { showimg 0,door.gif,random(0,64),random(0,64); sleep .05; hideimg 0; timeout=.05; } ? |
Yup.
|
OMG it like worked.
|
I knew I could do it :D:D:D:D:D
|
Grim Squeaker, you are a Tyhm in the making. :D
|
K one more thing.
Why is hitplayer or hurtplayer or whatever it is so confusing, and how could I make it hit like, any player/comp :[ |
hitplayer index; is just hard to use, can't explain how to use it myself actually(I di know how to use it I just don't know how to explain), I just know that the new hurtobject x,y,power; is a lot easier to use.
|
Ok. one LAST thing.
WAIT HOLD ON MY washing machine is unbalanced |
OK fixed, suppose I was using showimg for light2.png.
What If I wanted to put setcoloreffect on it? Or any other showimg. Is it possible? |
Yup like for example:
NPC Code: changeimgcolors is the command for that as can be sen in the above example. |
OMG THanks genius
|
I'm not genius I just now what most commands can do and what they are. ^^
|
Grim, you are now Tyhm Jr.
|
OMG, does this mean I'm Jr. Vice Levels admin?
And it doesn't mean I have to dress up funny from time to time does it? |
Yes.
|
What is ^^
|
^^ = ^_^ Only I think the _ is annoying to type.
|
I made an NPC that crashed my computer :]
|
I personally like >.< better.
|
How cause your sig keeps chainging
|
Heh, computer crashing NPC's are easy I think this script should crash any computer:
NPC Code: I'm not sure though. |
Quote:
|
I do not know what PHP is plz eplzin
|
PHP is a web scripting language.
Like, CGI/PERL, Java, etc. |
| All times are GMT +2. The time now is 03:00 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.