| |||
Views: 88,513,565 |
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search | 05-02-24 05:17 PM |
|
Guest: Register | Login |
0 users currently in Fraxy | 2 guests |
Main - Fraxy - Retreating fighter | New thread | New reply |
Haku1201 |
| ||
Mini Octorok Level: 12 Posts: 8/19 EXP: 6123 Next: 1798 Since: 05-14-09 Last post: 5306 days Last view: 4711 days |
How do I make a fighter core retreat from the player? |
NightKev |
| ||
Cape Luigi Level: 131 Posts: 3617/4792 EXP: 26243170 Next: 181450 Since: 03-15-07 Last post: 3740 days Last view: 3652 days |
"If [Player Pos] < [insert number of pixels here] then [Play Movement] of [Part X (invisible thruster(s))]" or similar. If they're facing the right direction, of course. ____________________ |
blackhole89 |
| ||
The Guardian Moloch whose eyes are a thousand blind windows! Level: 124 Posts: 2536/4196 EXP: 21543688 Next: 292913 Since: 02-19-07 From: Ithaca, NY, US Last post: 477 days Last view: 90 days |
|
justjake274 |
| ||
Nipper Plant Level: 44 Posts: 198/400 EXP: 596719 Next: 14566 Since: 02-07-09 From: The core Last post: 5324 days Last view: 5299 days |
Add a panel aim player, and attach a thruster to the front of it, so that the thruster is always facing the player. Set as
Condition Distance(From player) < (Number of pixels you want it to be to start the run away action.) Action MOVEMENT ON For: (Thruster part) And if you want it to stop retreating when the player is far, just make the same action again, but the < should be a >, and the MOVEMENT ON should be M. OFF Hope this helped. (Oh and don't forget to check the Repeat Event box!) ____________________ I'm not gonna be here much anymore. So yeah, go and celebrate. |
Main - Fraxy - Retreating fighter | New thread | New reply |
© 2005-2023 Acmlm, blackhole89, Xkeeper et al. |
MySQL - queries: 47, rows: 68/69, time: 0.010 seconds. |