Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New feature: easily placed extra civilians
Re: New feature: easily placed extra civilians[message #357486 is a reply to message #357485]
|
Mon, 03 June 2019 02:27
|
|
netrunner |
|
Messages:15
Registered:March 2019 |
|
|
I did, and I know about the grids in the editor, I wanted to avoid opening the editor to place mobs in sectors without water.
This is what I was trying to achieve:
function addMobs ( x , q)
if (CheckMercIsDead ( Profil.KINGPIN ) == false) then
if q == 0 or q == nil then
q = 24
end
for i=1, q do
--CreateArmedCivilain(CivGroup.KINGPIN_CIV_GROUP, SoldierClass.SOLDIER_CLASS_ELITE, math.random(1, 25000), 0)
CreateArmedCivilain(CivGroup.KINGPIN_CIV_GROUP, SoldierClass.SOLDIER_CLASS_ELITE, x, (CheckFact( Facts.FACT_KINGPIN_IS_ENEMY, 0 )))
end
end
end
if the function CreateArmedCivilain returned something saying that it was successfully created so I could just make sure that all mobs were in the sector, I know that there is the civGroup stuff and the civilians cap per sector in the ini config too, but thanks for trying to help anyway.
Report message to a moderator
|
Private
|
|
|
|
|
New feature: easily placed extra civilians
By: Flugente on Sun, 03 April 2016 17:20
|
|
|
Re: New feature: easily placed extra civilians
By: smeagol on Sun, 03 April 2016 17:59
|
|
|
Re: New feature: easily placed extra civilians
By: CVB on Sun, 03 April 2016 19:27
|
|
|
Re: New feature: easily placed extra civilians
By: Flugente on Sun, 03 April 2016 19:45
|
|
|
Re: New feature: easily placed extra civilians
By: CVB on Sun, 03 April 2016 22:30
|
|
|
Re: New feature: easily placed extra civilians
By: Flugente on Sun, 03 April 2016 22:46
|
|
|
Re: New feature: easily placed extra civilians
By: CVB on Sun, 03 April 2016 23:56
|
|
|
Re: New feature: easily placed extra civilians
By: Kitty on Sun, 05 May 2019 19:11
|
|
|
Re: New feature: easily placed extra civilians
By: CVB on Tue, 05 April 2016 09:53
|
|
|
Re: New feature: easily placed extra civilians
By: Flugente on Tue, 05 April 2016 14:07
|
|
|
Re: New feature: easily placed extra civilians
By: CVB on Tue, 05 April 2016 17:02
|
|
|
Re: New feature: easily placed extra civilians
By: Flugente on Tue, 05 April 2016 23:50
|
|
|
Re: New feature: easily placed extra civilians
By: CVB on Wed, 06 April 2016 16:16
|
|
|
Re: New feature: easily placed extra civilians
By: Flugente on Thu, 07 April 2016 01:06
|
|
|
Re: New feature: easily placed extra civilians
By: CVB on Thu, 07 April 2016 14:44
|
|
|
Re: New feature: easily placed extra civilians
|
|
|
Re: New feature: easily placed extra civilians
By: Wil473 on Thu, 07 April 2016 19:49
|
|
|
Re: New feature: easily placed extra civilians
By: CVB on Mon, 11 April 2016 21:02
|
|
|
Re: New feature: easily placed extra civilians
By: Flugente on Mon, 11 April 2016 21:13
|
|
|
Re: New feature: easily placed extra civilians
|
|
|
Re: New feature: easily placed extra civilians
By: Slax on Sun, 15 May 2016 21:35
|
|
|
Re: New feature: easily placed extra civilians
|
|
|
Re: New feature: easily placed extra civilians
By: Kitty on Mon, 03 June 2019 01:01
|
|
|
Re: New feature: easily placed extra civilians
|
|
|
Re: New feature: easily placed extra civilians
By: Kitty on Mon, 03 June 2019 06:46
|
|
|
Re: New feature: easily placed extra civilians
|
|
|
Re: New feature: easily placed extra civilians
By: tais on Sun, 03 April 2016 22:04
|
|
|
Re: New feature: easily placed extra civilians
|
|
|
Re: New feature: easily placed extra civilians
By: Kitty on Sun, 05 May 2019 18:56
|
|
|
Re: New feature: easily placed extra civilians
By: Kitty on Mon, 03 June 2019 00:47
|
Goto Forum:
Current Time: Mon Dec 02 04:28:49 GMT+2 2024
Total time taken to generate the page: 0.01071 seconds
|