Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Concept Art
    • Textures
    • Music
    • Sound Effects
    • Documents
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
  • Leaderboards
    • All Time
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
    • Weekly
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
  • ❤ Donate
FLARE [ARCHIVED]

Is it possible to allow the player to summon an enemy (not a helper, something to fight)?

TakeAShower
Thursday, October 25, 2018 - 09:25

I just whant to know if it's possible - it will be useful for testing purposes.

  • Log in or register to post comments
Venkman
joined 6 years 11 months ago
Friday, October 26, 2018 - 06:37

Theres a few different ways to spawn enemies. You could instantiate a enemy on a key press or enter a trigger collider to spawn the enemy so I would say yes.

  • Log in or register to post comments
dorkster
joined 12 years 10 months ago
Friday, October 26, 2018 - 13:13
dorkster's picture

This can be done with Events (map/script events or via the "exec" dev console command):

spawn=<enemy category>,<X>,<Y>

So spawn=goblin,10,20 will spawn any enemy with the category "goblin" at position (10,20). If you want to spawn a specific enemy, it will need to have a unique category as part of its "categories" variable.

  • Log in or register to post comments
TakeAShower
joined 6 years 9 months ago
Saturday, October 27, 2018 - 00:11

But this does not give much control over the number spawned - it takes a while to spawn 20 or so...

  • Log in or register to post comments