Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Xas enemy problem [resolved]

Status
Not open for further replies.

zchin

Sponsor

Thanks for clicking on this topic...
I've been planning on using the XAS ABS for my game, and I've just now started learning it, I get everything in creating an enemy, it's just that I keep getting this error whenever I copy and paste an enemy onto a test stage, I tried to copy the switches changes from on to off, and all and I just keep getting this error when the enemy get's into the sensor range...
92355903.jpg
 

Star

Sponsor

Did you also create them in troop? If I remember correctly, there's like four things you need to create an enemy.
1. you need to set the enemy id as the variable in the event
2. you need to make the enemy under that same id in database
3. you need to make the enemy under troop in the same id in the database
4. in older versions of XAS you have to put the enemy id in the scripts as well.
 

zchin

Sponsor

Yeah, I got all of that, and I'm using the newer version so I don't think I'm supposed to put it in the script... But it's a copy and paste enemy from another map from the demo onto a test map, so those should already be correct... This really hurts my head :crazy: heheh, well it's not any of those things though, thanks...

Thank you and have a nice day!
 

zchin

Sponsor

AHh. i fixed the problem when I went and checked to see if I used any other scripts, and there were some so I put them below main and tried and it worked but i should try and remember to put in the other scripts I was using next time.

Thank you and have a nice day!
 
Wow really I posted the exact same error a week ago in the same section and no one helps and yet you get help within a day well anyways thanks for helping me out too glad to know I am not the only one with this issue. :D
 
Status
Not open for further replies.

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top