![]() |
alright how does it work
I see people say prefix.("varname" @ temp.towahth @ "wejthakwlh") = 1;
If this doesn't have anything to do with what I'm about to ask then just pretend I didn't metion it and answer the question anyway: When you want to declare a value/assign/whatever... nevermind how do I do this: this.thisismyvarONE = the variable I that I want to edit. this.varname = "ONE"; this.("thisismyvar" @ this.varname) = 1; ^ please explain how to do because I'm doing it wrong apparently. |
What you're doing should work.
|
You could also do this..
PHP Code:
|
Quote:
|
Quote:
|
Quote:
So if I'm going to start the variable's name with the value of another variable, I need to use the @ sign to start it off? this.(@ varname) = value; |
I was on RC when you posted this...why didn't you just ask me? Loser.
Although you wouldn't have gotten as good help, I actually like the way Skyld has it formatted better. |
Quote:
PHP Code:
|
I dunno why people are using makevar :p
-longer too write -looks more complicated if you ask me, but isn't PHP Code:
PHP Code:
|
Ive actually started to use makevar() instead of var.(more stuff) lately. I like it more now, and it feels more.. organized?
|
*shrug* anyway instead of making a new thread how about I pose another question?
How does... PHP Code:
I know it ain't PHP Code:
|
Quote:
|
So... >_>
|
*9 days later*
You guys suck |
nobody knows....
|
Playerleaves doesnt exist in GS2, but its not hard to script your own version.
PHP Code:
|
player.level.name. :(
|
Quote:
|
onPlayerLeaves() should work fine, you are sure it is broken ?
|
Quote:
|
apparently it doesn't work.
Anyway lets see if yall can redeem yourselves... Tell me what I did wrong here. Assume temp.entry is a string and that all arrays and/or variables have been declared before this script comes into play. PHP Code:
I've tried saying (@temp.entry@"Suffix") but that doens't work either. If that's the correct answer then maybe I mistyped something. edit and yes I know I can jsut say server.array >= client.array but that doesn't answer my question. |
Quote:
Quote:
|
Roger dodger.
|
Okay and now how do you translate if (mousedown) to GS2 aka if (leftmousebutton) ?
|
Quote:
PHP Code:
|
lolz hey again yall I need help with this thing will you please help me??? how do you do this but make it work b/c something is wrong
PHP Code:
|
Quote:
Or why don't you stop trying to hide the fact that you're asking for scripts instead of your little "let's see you show me how to do this" scam? If you need help, ask, like a normal person. |
Quote:
Quote:
|
quite
anyway, what's the answer again? |
Quote:
Quote:
You could try to add a speed variable, instead of adding the variable of the loop, which is being increased, (because of the loop speed it would be like, 2 forward, then 1, then 2 forward and 1 forward, would look weird) To make something near the move() command, but to effect the player, I would use cos, sin and getangle |
Quote:
I don't know what his intentions were, but he put it off as a challenge. Sort of like seeing if people know how to do something, without doing it the way he's done it. That's the only reason I responded the way I did, else, I'd be glad to help. |
This stuff
PHP Code:
And how about an answer in GS2? English doesn't really help me. |
Quote:
It would be PHP Code:
Quote:
Playerleaves is an event, and read above :P |
Quote:
Example: PHP Code:
|
| All times are GMT +2. The time now is 02:07 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.