MoronismJoin Date: 2010-02-08 Post Count: 451 |
|
|
MoronismJoin Date: 2010-02-08 Post Count: 451 |
No, the personal problems of another individual is irrelevant to your life-style. |
|
MoronismJoin Date: 2010-02-08 Post Count: 451 |
There is simply no greater purpose in attempting to fulfill such a vague request.
Any intermission script provided would need to be modified to suit your game's needs. |
|
MoronismJoin Date: 2010-02-08 Post Count: 451 |
Perhaps the issue is that you are focusing on methodologies rather than mechanisms?
Have you tried simply experimenting with information within a reference guide and seeking further detail when you consider it necessary?
The methods used are useless if you cannot properly comprehend the concepts. |
|
MoronismJoin Date: 2010-02-08 Post Count: 451 |
'or, anyone with common sense, would use "FilteringEnabled"'
The script described was not intended for the purpose of inhibiting exploits. |
|
MoronismJoin Date: 2010-02-08 Post Count: 451 |
I suppose that you would like to construct an algorithm to accomplish this, yes?
The following link may be of assistance to you:
http://wiki.roblox.com/index.php?title=Random_terrain |
|
MoronismJoin Date: 2010-02-08 Post Count: 451 |
Ah, did you create this thread solely to boast about your crystallized knowledge?
Well then, I would have to inform you that "mastery" subjectively-arises from actual fluid usability and necessity of the language rather than simple rote memorization, as you seem to display.
Your interchangeable use of the terms "programmer" and "scripter" is rather questionable, given significant differences between programming and scripting.
Nonetheless, I would not argue that you are necessarily incapable. ... |
|
MoronismJoin Date: 2010-02-08 Post Count: 451 |
Yes. What are you describing can be accomplished by using string.format and a "Control-string", as shown below:
script.Parent.Text = ""..string.format("%.2f",tostring(Kills/Deaths)");
Does this help you?
http://www.lua.org/manual/5.1/manual.html#pdf-string.format |
|
MoronismJoin Date: 2010-02-08 Post Count: 451 |
"its very hard to understand cause its not using an example related to my situation"
Ah, my apologies for not explaining the usage thoroughly. Hopefully this will help you.
String.format is a function that manipulates string data by formatting it according to the first argument provided.
Here is an example:
S = "1.123456789";
string.format("%.3f",S);
print(S); --This would print "1.123";
Within the example that I provided, I have a string known as "1.123456789"
The first argument within ... |
|
MoronismJoin Date: 2010-02-08 Post Count: 451 |
It would seem that I added an unnecessary quotation mark near the end of the script segment I provided you with.
This would be the correct version:
"script.Parent.Text = ""..string.format("%.2f",tostring(Kills/Deaths));"
For further reference, it would likely be an excellent idea to discuss any necessary adjustments within a single thread. That will ensure that the discussion can remain progressively organized to efficiently assist you.
|
|
MoronismJoin Date: 2010-02-08 Post Count: 451 |
"it still did not work"
Could you describe your error to me please? |
|
MoronismJoin Date: 2010-02-08 Post Count: 451 |
"so it just says label which is the default text. So its not even dividing the Kills by deaths, something must be stopping the script"
When you used my example, did you remove the quotation marks it was enclosed within? |
|
MoronismJoin Date: 2010-02-08 Post Count: 451 |
Hmm. Your problem intrigues me.
Did you notice any errors within the output? |
|
MoronismJoin Date: 2010-02-08 Post Count: 451 |
Why are you fabricating tales? |
|
MoronismJoin Date: 2010-02-08 Post Count: 451 |
"dont cheat"
I never truly understood why anyone would expect high-quality and valid answers on a publicly-available Internet forum for impulsive adolescent schoolchildren. |
|
MoronismJoin Date: 2010-02-08 Post Count: 451 |
Your question is rather vague. How did you add a "Damage" property exactly?
If you used an object such as an IntValue, it is a matter of an expression such as this:
Part.IntValue.Value = Part.IntValue.Value - 1;
|
|
MoronismJoin Date: 2010-02-08 Post Count: 451 |
Well, technically-speaking..... |
|
MoronismJoin Date: 2010-02-08 Post Count: 451 |
Yes, life-styles without computers are very superior.
I often enjoy performing repetitive and extensive tasks to accomplish a simple goal. |
|
MoronismJoin Date: 2010-02-08 Post Count: 451 |
You could just convert the binary numbers to base-ten and search the corresponding values within the Unicode table... |
|
MoronismJoin Date: 2010-02-08 Post Count: 451 |
Happiness and sadness are merely abstract concepts.
The functionality of the concrete-world is only negative if you perceive it as such. |
|
MoronismJoin Date: 2010-02-08 Post Count: 451 |
I am not sure whether ROBLOX is necessary the most appropriate environment for this.
While there are plenty of somewhat qualified users on the website, I would recommend being rather cautious about offering random strangers of dubious capability any sort of employment position over the Internet. |
|
MoronismJoin Date: 2010-02-08 Post Count: 451 |
Neither. Google is a GUI-based search algorithm system. |
|
MoronismJoin Date: 2010-02-08 Post Count: 451 |
Yes, enjoy your penalties.
The moderators strongly dislike criticism of leftistic ideologies. |
|
MoronismJoin Date: 2010-02-08 Post Count: 451 |
The actual importance of the Lua components depends entirely on what you intend to design using Lua.
Nonetheless, the standard programming concepts such as variables, functions/subroutines, data-types, and data-structures should be understood and utilized, along with default keywords/operators. All "complex" projects are derived directly from those basic concepts.
You should consider tasking yourself with constructing solutions to problems that you would like to "solve." That will allow you to... |
|
MoronismJoin Date: 2010-02-08 Post Count: 451 |
"I have never heard of that before"
"Multi-dimensional Arrays" are essentially matrices.
A matrix can be thought of as a data-structure with rows/columns. The "rows" or "columns" are simply other data-structures indexed into the central data-structure. |
|