SphereCommunity
Spawn issue - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Spawn issue (/Thread-Spawn-issue)



Spawn issue - Soulless - 06-23-2012 07:31 PM

has anyone noticed that if you use a def in a spawn group it only spawns one npc from that def?

like if i make

daemons { c_daemon 1 c_daemon_w_sword 1 c_m_balron 1 }

and i used this in a spawndef

[SPAWN 09029]
DEFNAME=SPAWN_FireDungeon1
CATEGORY=Spawn Groups
SUBSECTION=Custom
DESCRIPTION=FireDungeon 1
ID=daemons

if only spawns c_daemon_w_sword


anyone have that same issue? im using the nightly builds


RE: Spawn issue - Extreme - 06-24-2012 01:22 AM

[SPAWN 09029]
DEFNAME SPAWN_FireDungeon1
ID C_DAEMON
ID C_DAEMON_W_SWORD
ID C_M_BALRON


RE: Spawn issue - RanXerox - 06-24-2012 11:33 AM

I think that's expected, if you put "code" in a defname entry, it does not get evaluated... another example might be:

randomnumber <R1,10>
randomnumber {1,10}

...you will always get the same result, definitely not a random number.


RE: Spawn issue - Soulless - 06-25-2012 06:39 AM

Thanks RanXerox