Jump to content
Sign in to follow this  
iTriforce

Stop civilian spawn

Recommended Posts

iTriforce

Would love it on some maps (Like big Bank) when civilians spawn 24/7.

I don't want to lobotomize them since I still want people to think that I play without cheats whatsoever.

or is there a feature like this already?

:crew:

Share this post


Link to post
Share on other sites
iTriforce

This should help you:

function ElementSpawnEnemyDummy:on_executed( instigator )

end

function ElementSpawnCivilianGroup:on_executed( instigator )

end

Sorry but where do I paste this code?

Share this post


Link to post
Share on other sites
iTriforce

In user_script.lua and you can launch it on F5.

Can I paste unlimited scripts in there?

(I saw one here on PP that says which engine is the correct one on big oil)

Can I just paste that code in there aswell?

Share this post


Link to post
Share on other sites
iTriforce

Yes, but whenever you press F5 all scripts will be launched.

Is there a way to "split" the scripts so you can choose which one to launch?

I mean game maybe crash if you press F5 to find the correct engine when you are not on the big oil mission.

:raiders:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Stop being a peeping tom and join the community.... we got cookies

Join the crew now

Sign in

Already part of the crew? Board right here

Sign In Now
Sign in to follow this  

×