10-07-2012
|
166 | |
Registered User
Join Date: Aug 2011
Location: En La Caja
Posts: 1,679
|
|
|
10-16-2012
|
171 | |
Registered User
Join Date: Sep 2011
Location: Germany
Posts: 6,122
|
PHP Code:
if the players dir is 1: x will lower by -1, y will raise by 0 (player walks to the left) if the players dir is 2: x will raise by 0, y will raise by 1 (player walks down) if the players dir is 3: x will raise by 1, y will raise by 0 (player walks to the right) |
|
10-17-2012
|
172 | |
299,792,458 m/s
Join Date: Mar 2012
Location: Lebanon
Posts: 3,581
|
|
|
10-17-2012
|
174 |
299,792,458 m/s
Join Date: Mar 2012
Location: Lebanon
Posts: 3,581
|
Not sure if there is a custom command for that, but, can I set a limit for a bullet using shoot() params? Like I want it to end at 2 tiles infront of the player, and make the bullet invisible this way it would be easier to make it similar to my gun system.
|
10-17-2012
|
176 | |
Registered User
Join Date: Sep 2011
Location: Germany
Posts: 6,122
|
|
|
11-23-2012
|
177 | |
scripture
Join Date: Jul 2012
Location: United Kingdom
Posts: 237
|
i will also be thanking you john and emera after teaching me gs2 like you currently are! ill create my own thread and do like john :3 |
|