PROJECT BLUE ONLY
I'm working on a L4D Style spawn script, and I think I may have it - other than the fact they might spawn in a place you can see them. Would this work so far? (To spawn them within a certain distance, with max and amout at once, etc. Obviously, 40 will be increased.)
In FPI script (start script)
;Artificial Intelligence Script
;Header
desc = Spawns when near. Created by Ikey, thanks to Plystire.
;Triggers
:state=0:hideentity,coloff,state=1
:state=1:plrdistwithin=400:runfpidefault=1,showentity,colon
;End of Script
Then, in the entity's FPE, put
spawnmax = 5
spawndelay = 10
spawnqty = 1
Or whatever fits to this:
Obviously, the settings on this may be changed, for a longer or shorter gap, more of them at once, etc etc.
Something along these lines?
I've only just begun this, because I'm semi-new to FPSC Scripting, but y'know. I've been told before that there would be nothing to ensure that the entity is within a distnce of the entity, but there it is, having been there since the beginning of FPSC O_o