Raised This Month: $51 Target: $400
 12% 

[NMRIH] Spawning zombies


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
WaterRatj
Junior Member
Join Date: Dec 2009
Old 07-23-2015 , 23:29   [NMRIH] Spawning zombies
Reply With Quote #1

Hey,
I've been messing around a bit with nmrih scripting and i'm trying to spawn some zombies but i'm trying to find out how the runner/kid chance works.

I'm using the event instant_zombie_spawn. so far it works with the amount. they spawn but have no luck spawning runners/kids even if i change the float to 1.0 from 0.0.

Anyone by chance have an idea where to look for?
WaterRatj is offline
WaterRatj
Junior Member
Join Date: Dec 2009
Old 07-24-2015 , 20:01   Re: [NMRIH] Spawning zombies
Reply With Quote #2

No one an idea?
WaterRatj is offline
Marcus_Brown001
AlliedModders Donor
Join Date: Nov 2012
Location: Illinois, United States
Old 07-24-2015 , 21:45   Re: [NMRIH] Spawning zombies
Reply With Quote #3

I don't know how the built in chance works. If you can't get it to work, you can hook OnEntityCreated. Have it print every time a certain zombie is created, and do some basic math to figure out what the percentage is. On the flip side, you could also spawn your own zombies with what ever ratio you wanted using that method.
Marcus_Brown001 is offline
WaterRatj
Junior Member
Join Date: Dec 2009
Old 07-25-2015 , 02:48   Re: [NMRIH] Spawning zombies
Reply With Quote #4

Well spanwing is no problem neither is the amount but can't seem to find a way to spawn a certain amount of zombies wich are all runners or children.

0.00 means no chance
1.00 doesn't do much neither

So i'm stuck what to use to spawn the ones i want all to be one type.
WaterRatj is offline
WaterRatj
Junior Member
Join Date: Dec 2009
Old 07-26-2015 , 15:33   Re: [NMRIH] Spawning zombies
Reply With Quote #5

Bumb.
Where are the nmrih peeps xp
WaterRatj is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode