Replicate Spawn Cubes?
Moderator: Graf Zahl
- 
				BlazingPhoenix
														 - Posts: 488
 - Joined: Sun Aug 28, 2005 5:11
 
Replicate Spawn Cubes?
Is it possible to make a projectile that inherits from the Spawn Cube but make it so it spawns different monsters instead?(like Heretic monsters for example?)
			
			
									
						
										
						- 
				Phobus
														 - Posts: 227
 - Joined: Sat Sep 03, 2005 11:48
 - Location: Orpington, Kent, England
 
- 
				TheDarkArchon
														 - Posts: 1000
 - Joined: Wed Jul 06, 2005 11:58
 - Location: What's that fucking smell
 
- 
				BlazingPhoenix
														 - Posts: 488
 - Joined: Sun Aug 28, 2005 5:11
 
- 
				Graf Zahl
														 - GZDoom Developer

 - Posts: 7148
 - Joined: Wed Jul 20, 2005 9:48
 - Location: Germany
 
- 
				Tormentor667
														 - Stronghold Team
 - Posts: 3555
 - Joined: Sun Nov 13, 2005 23:15
 - Location: Germany
 
Why not just splitting this hardcoded thing up into two functions?Graf Zahl wrote:You can't replicate the spawn cube. The reason for this is that A_SpawnFly is both responsible for checking the destination spot and spawning the monsters. If these were different code pointers you could do something about it - but they aren't.
- 
				TheDarkArchon
														 - Posts: 1000
 - Joined: Wed Jul 06, 2005 11:58
 - Location: What's that fucking smell
 
- 
				Phobus
														 - Posts: 227
 - Joined: Sat Sep 03, 2005 11:48
 - Location: Orpington, Kent, England
 
- 
				Graf Zahl
														 - GZDoom Developer

 - Posts: 7148
 - Joined: Wed Jul 20, 2005 9:48
 - Location: Germany
 
- 
				BlazingPhoenix
														 - Posts: 488
 - Joined: Sun Aug 28, 2005 5:11
 
- 
				TheDarkArchon
														 - Posts: 1000
 - Joined: Wed Jul 06, 2005 11:58
 - Location: What's that fucking smell
 
- 
				BlazingPhoenix
														 - Posts: 488
 - Joined: Sun Aug 28, 2005 5:11
 
- 
				Graf Zahl
														 - GZDoom Developer

 - Posts: 7148
 - Joined: Wed Jul 20, 2005 9:48
 - Location: Germany