LOGIN
SEARCH
STATS
PROFILE
MEMBERS
GROUPS
keys: ↑ ↓
LOGOUT
INDEX
keys: ↑ ↓
HOME
PORTAL
PLAY ALONG
PLAY with WORDS
PLAY with GRAPHICS
PLAY with SOUNDS
PLAY with CODES
PLAY with PROJECTS
PLAY with VIDEOS
101's
keys: ← →
Guest Access
Register:
Members:



[solved]Xas Enemies551

View previous topic View next topic Go down Message [Page 1 of 1]

ACTIVATED
ACTIVATED
#1 [solved]Xas Enemies
Loading

shogun3

ACTIVATED
ACTIVATED
ACTIVATED
profile
We all know how great XAS is, but when it comes to setting up enemies, how can we avoid making them predictable and dumb?

1)For instance, if I would like an enemy to attack me with a short range (physical) attack only when I face left or right, how can do that?
And if I want an enemy to shoot an arrow at me only when his x position is=to my x position on the screen?
ACTIVATED
Show Signature
ACTIVATED
EVENTALIST
EVENTALIST
#2 Re: [solved]Xas Enemies
Loading

mr_wiggles

EVENTALIST
 EVENTALIST
EVENTALIST
profile
Make the sensor self switch page just an "approach player" movement, and a trigger set to "event touch". After that make the event turn on a different self switch that isn't being used by the enemy, for say "B", and have it turn it on. This way the event will turn on another switch when the player touched it.

after that is set up, make the page that is turned on by the self switch you established. This page will have conditional branches that will tell the event weather or not to attack the player.

I'll throw together a demo and send it to you, i think it will make more sense on what im trying to say.

Demo
post below contains the download...
EVENTALIST
Show Signature


Outbreak: First Blood - Canceled.

Outbreak Stratagem -

WABS Alpha Demo:

<- Thanks Blue

Spoiler:

METAL FRESH is a paint contractor that specializes in refinishing metal and vinyl siding. We paint metal buildings as well as siding on homes.


Metal building painters around northern Illinois and southern Wisconsin .
http://metalfreshcoatings.com
EVENTALIST
ACTIVATED
ACTIVATED
#3 Re: [solved]Xas Enemies
Loading

shogun3

ACTIVATED
ACTIVATED
ACTIVATED
profile
that would be great!
ACTIVATED
Show Signature
ACTIVATED
EVENTALIST
EVENTALIST
#4 Re: [solved]Xas Enemies
Loading

mr_wiggles

EVENTALIST
 EVENTALIST
EVENTALIST
profile
*updated ^

and hope that is what you meant, for the arrow thing, you can do the same thing, just make the enemy a trap enemy and the same for the side attack just different conditional branches on the page.
EVENTALIST
Show Signature


Outbreak: First Blood - Canceled.

Outbreak Stratagem -

WABS Alpha Demo:

<- Thanks Blue

Spoiler:

METAL FRESH is a paint contractor that specializes in refinishing metal and vinyl siding. We paint metal buildings as well as siding on homes.


Metal building painters around northern Illinois and southern Wisconsin .
http://metalfreshcoatings.com
EVENTALIST
Administrator
Administrator
#5 Re: [solved]Xas Enemies
Loading

G@MeF@Ce

Administrator
Administrator
Administrator
profile
@wiggles - as always you are most helpful

@shogun - get familiar with enemy move routes, d/l the XAS pdf and review section 4.4


http://www.filefront.com/14713937/XAS-MADE-EASY-v0.1.rar
Administrator
Show Signature
Administrator
https://www.dropbox.com/sh/i47rig99qhrvn8s/4m5HvsM2fD http://g4m3f4c3.deviantart.com https://www.facebook.com//pages/Gameface101/332331300127008 https://twitter.com//mr_gameface101 https://soundcloud.com/schurr http://www.youtube.com/user/MrGameface101?feature=watch
Active Member
Active Member
#6 Re: [solved]Xas Enemies
Loading

Legault123

Active Member
Active Member
Active Member
profile
@Mr. Wiggles: The demo link is no longer available, could you upload it again please?
Active Member
Show Signature
Active Member
EVENTALIST
EVENTALIST
#7 Re: [solved]Xas Enemies
Loading

mr_wiggles

EVENTALIST
 EVENTALIST
EVENTALIST
profile
damn... yea i just cleaned up my uploads because i thought it wasn't needed, sure no problem ill re upload for you.

Here you are... Download


also are you the same person as the original poster?
EVENTALIST
Show Signature


Outbreak: First Blood - Canceled.

Outbreak Stratagem -

WABS Alpha Demo:

<- Thanks Blue

Spoiler:

METAL FRESH is a paint contractor that specializes in refinishing metal and vinyl siding. We paint metal buildings as well as siding on homes.


Metal building painters around northern Illinois and southern Wisconsin .
http://metalfreshcoatings.com
EVENTALIST
Active Member
Active Member
#8 Re: [solved]Xas Enemies
Loading

Legault123

Active Member
Active Member
Active Member
profile
Nope, I just saw the topic and got interest on it. Thank you very much again Smile
Active Member
Show Signature
Active Member
EVENTALIST
EVENTALIST
#9 Re: [solved]Xas Enemies
Loading

mr_wiggles

EVENTALIST
 EVENTALIST
EVENTALIST
profile
ok, yea no problem.
EVENTALIST
Show Signature


Outbreak: First Blood - Canceled.

Outbreak Stratagem -

WABS Alpha Demo:

<- Thanks Blue

Spoiler:

METAL FRESH is a paint contractor that specializes in refinishing metal and vinyl siding. We paint metal buildings as well as siding on homes.


Metal building painters around northern Illinois and southern Wisconsin .
http://metalfreshcoatings.com
EVENTALIST

View previous topic View next topic Back to top Message [Page 1 of 1]

 

Chatbox system disabled
Personal messaging disabled