Replicate Spawn Cubes?
Moderator: Graf Zahl
- BlazingPhoenix
- Posts: 488
- Joined: Sun Aug 28, 2005 5:11
- Contact:
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
- Contact:
- TheDarkArchon
- Posts: 1000
- Joined: Wed Jul 06, 2005 11:58
- Location: What's that fucking smell
- Contact:
- BlazingPhoenix
- Posts: 488
- Joined: Sun Aug 28, 2005 5:11
- Contact:
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- Tormentor667
- Stronghold Team
- Posts: 3555
- Joined: Sun Nov 13, 2005 23:15
- Location: Germany
- Contact:
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
- Contact:
- Phobus
- Posts: 227
- Joined: Sat Sep 03, 2005 11:48
- Location: Orpington, Kent, England
- Contact:
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- BlazingPhoenix
- Posts: 488
- Joined: Sun Aug 28, 2005 5:11
- Contact:
- TheDarkArchon
- Posts: 1000
- Joined: Wed Jul 06, 2005 11:58
- Location: What's that fucking smell
- Contact:
- BlazingPhoenix
- Posts: 488
- Joined: Sun Aug 28, 2005 5:11
- Contact:
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact: