Groupofglaahks Posted November 25, 2005 Share Posted November 25, 2005 How do I make a script spawn a creature? Quote Link to comment Share on other sites More sharing options...
Lilith Posted November 26, 2005 Share Posted November 26, 2005 Quote: void place_monster(short loc_x,short loc_y,short monst_type,short not_worth_xp) Makes a monster of type monst_type appear at {loc_x,loc_y}. It is hostile to the party. The game has 34 slots reserved for wandering monsters and creatures made using the place_monster function. If not_worth_xp is 0, than the creature is a normal creature. If not_worth_xp is 1, the creature drops no items and awards no experience when killed. If not_worth_xp is 2, the creature is considered to be summoned. It drops no items, isn't worth xp, and disappears a few turns later. The summoned creature uses its default script. For most situations, that's probably the call you want. Quote Link to comment Share on other sites More sharing options...
Kelandon Posted November 26, 2005 Share Posted November 26, 2005 You know, I can't find a place_monster call anywhere in GF3, although I may just not have searched in the right script. I can find plenty of spawn_creature calls, though, and that call seems to work the same way as the BoA call. Quote Link to comment Share on other sites More sharing options...
Lilith Posted November 26, 2005 Share Posted November 26, 2005 So place_monster doesn't work in Geneforge? Huh. Damn. spawn_creature only allows the spawning of creatures that have already been placed in town, though, doesn't it? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.