Graalians

Graalians (https://www.graalians.com/forums/index.php)
-   Creative Corner (https://www.graalians.com/forums/forumdisplay.php?f=17)
-   -   John's Scripts (https://www.graalians.com/forums/showthread.php?t=9528)

RenoDorvay 08-28-2012 12:22 PM

Quote:

Posted by Tricxta (Post 188373)
I think it's cute they think think their scripts are worth sharing as well.


I like how you're saying if true is true. Instead just use if (thiso.isOn){ instead just to show you're not a blatant copy paster kinda "programmer".

Play nicely Tricxta :(
Sharing any script is good, regardless of the quality that you think they are.

Emera 08-28-2012 12:25 PM

Quote:

Posted by RenoDorvay (Post 188427)
Play nicely Tricxta :(
Sharing any script is good, regardless of the quality that you think they are.

That, and this isn't exactly a show-off thread is it? He's posting a script so we can help him get better, and you can't really bash that.

callimuc 08-28-2012 12:37 PM

Quote:

Posted by Tricxta (Post 188373)
I think it's cute they think think their scripts are worth sharing as well.

you can go on helping. also this isnt a share thread/code gallery. we are simply helping him and later on we can suggest him more.

Quote:

Posted by Tricxta (Post 188373)
I like how you're saying if true is true. Instead just use if (thiso.isOn){ instead just to show you're not a blatant copy paster kinda "programmer".

everyone is having their start to learn that. in the beginning its more easy for people to learn it by still using if (whatever == boolean).
sorry that not everyone is such a pro like you thinking they are the best. go on rather than keep fighting about/with everything/everyone you dont like

Johnaudi 08-28-2012 06:45 PM

Back on topic, findimg() does what :p ?

Emera 08-28-2012 07:08 PM

Quote:

Posted by Johnaudi (Post 188505)
Back on topic, findimg() does what :p ?

It shows images <3.

PHP Code:

with(findimg(200)) {
  
image "block.png";
  
player.x;
  
player.y;


The 200 inside the brackets is the index. Anything over 200 will be displayed only on the player's screen, and anything between 0 and 199 will be displayed to everybody. There's other variables you can change like text, font, layer, etc. Just play around with them <3

Tricxta 08-29-2012 03:20 AM

Quote:

Posted by Emera (Post 188513)
It shows images <3.

No o_0
findimg retrieves the image object given an index. With that object you can manipulate its properties.

Emera 08-29-2012 03:28 AM

Quote:

Posted by Tricxta (Post 188880)
No o_0
findimg retrieves the image object given an index. With that object you can manipulate its properties.

And you honestly think he's going to understand that at this stage? No.

Tricxta 08-29-2012 03:30 AM

Quote:

Posted by callimuc (Post 188433)
sorry that not everyone is such a pro like you thinking they are the best. go on rather than keep fighting about/with everything/everyone you dont like

http://i.qkme.me/3p3m3k.jpg

Being serious though, I see this thread as a way to ***** rep. It's pretty much a failed showcase turned into a help thread with people giving flawed information.

I don't think i'm good and I have no clue where you got that idea from.

Let's chill now, k?

Quote:

Posted by Emera (Post 188886)
And you honestly think he's going to understand that at this stage? No.

If he thinks about it and is given an example such as yours, then yes.

Emera 08-29-2012 03:35 AM

Quote:

Posted by Tricxta (Post 188888)
If he thinks about it and is given an example such as yours, then yes.

Still no.

Johnaudi 08-29-2012 07:42 AM

Thanks Emmy :3 so basically it shows the image ServerSided if it's under 200 and it's clientsided if it's 200+?

Emera 08-29-2012 11:48 AM

Quote:

Posted by Johnaudi (Post 189008)
Thanks Emmy :3 so basically it shows the image ServerSided if it's under 200 and it's clientsided if it's 200+?

Not server side, but for all players. No problem ;)

callimuc 08-29-2012 04:01 PM

Quote:

Posted by Tricxta (Post 188888)
Being serious though, I see this thread as a way to ***** rep. It's pretty much a failed showcase turned into a help thread with people giving flawed information.

I don't think i'm good and I have no clue where you got that idea from.

Let's chill now, k?

ok, maybe it was kinda harsh. but at least hes willing to learn other than most people on the official forums releasing codes. at least im trying to explain it pretty simple for him as i think you should understand the code before knowing something like the explanation you gave for the findImg() part.
if you know what the script does and you messed with that it would be more easy to understand your explanation. when you are new to scripting than it can be hard to understand it

peace

Johnaudi 08-29-2012 05:52 PM

Quote:

Posted by Emera (Post 189067)
Not server side, but for all players. No problem ;)

so findimg() is always clientsided?

Emera 08-29-2012 06:37 PM

Quote:

Posted by Johnaudi (Post 189165)
so findimg() is always clientsided?

You can't use findimg() on the server side. It's a clientside function. If you set the index of the image to lower than 200 though, it'll show for everybody and not just yourself.

Johnaudi 08-30-2012 06:25 AM

Next question is a stupid question but keeps getting around my mind, about NPC movements, I try to make it but it goes for a second then it stops, I remember tricxta teaching it to me on Skype but I probably forgot a thing.


All times are GMT. The time now is 01:59 PM.

Powered by vBulletin/Copyright ©2000 - 2026, vBulletin Solutions Inc.