Forum
CS2D Scripts Lua Scripts/Questions/HelpIs there bind called "v"?
However, you could just spawn item on x,y when you pushed button. (strip it from player)
Blazzingxx has written
You said you can make it yourself, there is no problems if you are poland.
However, it have not enough features to me for starting this "mod" .
Fehuziom has written
Hi i need lua mod to HnS from cs 1.6... (I could to it myself , but im from poland )
You said you can make it yourself, there is no problems if you are poland.
However, it have not enough features to me for starting this "mod" .
i MUST USE translator google ... my english is baaaad ... i only can polish programs example c++ PL build ...
It is better to say that you do not want to help me
ops, I just missed there, I forgot to put it
1
function test_move(id,[b]x[/b],[b]y[/b],walk)
and the code work perfectly
Fehuziom has written
It is better to say that you do not want to help me
It is even better that you this crap by yourself.
If you have to use google translator you should really consider learning english.
You shouldn't be crying like a baby because you were born in a country that doesn't have english as it's official language.
As an example Blazzing is from germany so he learned english and made scripts like superhero, zombie plague and shit without crying because he wasn't born in USA nor the UK
Dude, I'm not from Germany (neither UK or USA)
I'm living Here
Lol, my fail.
But english isn't your official language anyways (RIGHT?!) so it's what I wrote before has still got some sense (RIGHT?!)
Flacko has written
REALLY? I could swear that I heard that you were from germany.
Lol, my fail.
But english isn't your official language anyways (RIGHT?!) so it's what I wrote before has still got some sense (RIGHT?!)
Lol, my fail.
But english isn't your official language anyways (RIGHT?!) so it's what I wrote before has still got some sense (RIGHT?!)
That's RIGHT.
+ you should have noticed that in his profile.
Blazzingxx has written
tile(x,y,"wall") not working as all values not working on this function.
DC said he will fix this mess
leegao has written
Quote
[TILE]
- tile(x,y,"value") Return a value of a tile:
frame, property, walkable, deadly,
wall, obstacle, entity
- tile(x,y,"value") Return a value of a tile:
frame, property, walkable, deadly,
wall, obstacle, entity
tile(x,y,"wall") not working as all values not working on this function.
DC said he will fix this mess
I guess this would be the fallback solution until the function is reimplemented.
http://failboat.me/2009/mapparser/
Vectar666 has written
There is an entity for it called Func_Gameaction. How can I make WIN in some conditions? Is there a command like this?
Vectar666 has written
I want to do it in LUA, not in map
You can't.
You should make an entity and trigger it on victory condition and shit through Lua.
Flacko has written
It is even better that you this crap by yourself.
If you have to use google translator you should really consider learning english.
You shouldn't be crying like a baby because you were born in a country that doesn't have english as it's official language.
As an example Blazzing is from germany so he learned english and made scripts like superhero, zombie plague and shit without crying because he wasn't born in USA nor the UK
Fehuziom has written
It is better to say that you do not want to help me
It is even better that you this crap by yourself.
If you have to use google translator you should really consider learning english.
You shouldn't be crying like a baby because you were born in a country that doesn't have english as it's official language.
As an example Blazzing is from germany so he learned english and made scripts like superhero, zombie plague and shit without crying because he wasn't born in USA nor the UK
You are not the Polish, do not know how there is ... and certainly do not want to know.
You think with lua so easy to learn, if you are the Polish? Polish is the most difficult language (I think), but my English is difficult.
Now prefer to speak German was a lua ...
Yes, I know English, even extremely so to speak, but I am sure that kad not say wrong? For example, 'How' I could speak with 'is'.
Vectar666 has written
Can I make entity through lua?
You can't
Fehuziom has written
I easily recognize lazy people, you.
You don't have to learn English or something like that to use Lua.
Read some pages, try basic functions with it.
I don't get why you are crying for your language.
By the way, try to explore DC's samples to know more about CS2D scripting.
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
npc_create(map("xsize")/2,map("ysize")/2) timer(5000,"npc.testing") function npc.testing() 	if b==0 then 		npc_turn(1,90) 		b=1 	end 	npc_move_right(1,1) 	repeat until 100 end
The repeat bit won't work. It only executes it once.
hmmm... My friend learn me basic functions ... and i have error ... must wait 2h when i have time to fix it.
Can u, Blazzingxx , learn me (To here no spam) basic functions , i need only in return1 (example) , why i must say this to work etc.
Ummm.... in english GG dont work ....
my email is: - Email address (only visible with login) -
I don't really like this kind of loops but try this:
1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
npc_create(map("xsize")/2,map("ysize")/2) timer(5000,"npc.testing") function npc.testing() 	j = 0 	repeat 		if b==0 then 			npc_turn(1,90) 			b=1 		end 		npc_move_right(1,1) 		j = j +1 	until j > 10 --We have to put a condition here, not the number of times to repeat this block end
I would use a while loop