Hi all,
This is my first attempt at modifying the FPSC source so any comments, suggestions are appreciated.
As the title suggests I've modified the spawning code of FPSC to allow a bit more control.
CONDITIONS
"spawnsleft=X"
This condition checks the number of spawns remaining for the entity and returns true if X is 1 and the entity is able to spawn or X is 0 and the entity cannot spawn any more entities.
ACTIONS
"clone"
This action initiates a spawn of the entity.
"clonetarget"
This action initiates a spawn of the entity' target.
"cloneifused"
This action initiates a spawn of the entity named in the entity's "If Used" parameter.
I'm not posting an actual compiled mod as I've only coded a small number of features. Instead I'm posting the code so any existing mods are free to incorporate them.
Code and explanation attached.
[url="http://raptr.com/No_Turn_Right?src=em_forum"]

[/url]