Pages: 1
Topic closed
I have a script that goes something like this:
[blocks] <if><touching[Player 2
<turn cw( 180 )degrees>
<move( 50 )steps>
<end> [/blocks]
And I have it applied to both players, but for some reason, only the one charging the other gets send back. How do I fix this?
Offline
Are the <touching [Player _]> blocks different in both of the players?
Offline
fg123 wrote:
Turning a specific way doesn't always work. Why don't you try:
[blocks]
<point in direction( (( 180 <+> <direction> ))
[/blocks]
It should work.
No, I mean, I want them to actually MOVE backwards. Which works except that only the player charging gets sent backwards.
Offline
Chrischb wrote:
Are the <touching [Player _]> blocks different in both of the players?
What do you mean by that?
Offline
marioman119 wrote:
fg123 wrote:
Turning a specific way doesn't always work. Why don't you try:
[blocks]
<point in direction( (( 180 <+> <direction> ))
[/blocks]
It should work.No, I mean, I want them to actually MOVE backwards. Which works except that only the player charging gets sent backwards.
I mean replace your turn 180 with my script.
Offline
fg123 wrote:
marioman119 wrote:
fg123 wrote:
Turning a specific way doesn't always work. Why don't you try:
[blocks]
<point in direction( (( 180 <+> <direction> ))
[/blocks]
It should work.No, I mean, I want them to actually MOVE backwards. Which works except that only the player charging gets sent backwards.
I mean replace your turn 180 with my script.
Alright, I'll give it a try.
Offline
It didn't work. You see, there's nothing wrong with the turning, there's a problem with having BOTH players be sent back 50 steps.
Offline
Bump
Offline
Flait7 wrote:
If you want the sprites to move in the EXACT opposite direction, i suggest <move( -x )steps>
You people still don't understand. The turning is FINE. The trouble is, only ONE player moves back instead of BOTH.
Offline
Topic closed
Pages: 1