Forum
 
  CS2D
 CS2D  Scripts
 
Scripts  players are moving in the direction of scrolling t
 players are moving in the direction of scrolling t players are moving in the direction of scrolling t
 players are moving in the direction of scrolling t
10 replies 
  1
 1  
 
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
addhook("ms100","elevator")
function elevator()
	for _,id in pairs (player(0,"tableliving")) do
		local x = player(id,"tilex")
		local y = player(id,"tiley")
		local YOUR_TILE = 33
		if tile(x,y,"frame") == YOUR_TILE then
			parse("setpos "..id.." "..player(id,"x").." "..player(id,"y")+1)
		end
	end
end
Now when a person stands on tile 33, he will move down.
edited 1×, last 06.07.15 05:38:57 pm
edited 1×, last 06.07.15 03:48:22 pm
 
  I don't know a foreign language and are not able to formulate the problem correctly. players must move in the direction scrolling WA tile , but they don't move
 Rainoth:
 Rainoth: i can downland TeamViewer, but I don't know how to use it
 Rainoth: i am downland this programm, been successfully registered and launched.what to do next?
 Rainoth: i am downland this programm, been successfully registered and launched.what to do next? // Glad we could sort it out. You're welcome.
edited 1×, last 06.07.15 05:39:19 pm
 
  1
 1  
 
 Offline
 Offline