Scripts / Crime spawns

Author
Message
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 29th Oct 2017 21:30 Edited at: 29th Oct 2017 21:44
Ok I have posted this on smallg's section but i know he's busy with AGK atm so i thought I'd punt it out to you guys see if anyone has a solution what I'm trying to do is spawn guards after you commit a crime, now it all is working apart from the spawn part so I have obviously missed something (my ai scripting is not so cleaver) lol
So you commit a crime and you gain Infamy points now this all works correctly in my RPG menu script (all adds correctly) but if you have above 0 Infamy i need guards to spawn here's what i have


anyone spot what I'm missing?
and why on earth does the editor keep asking for a then near = g_infamy there is already one there?
Cheers
Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
AMD Radeon 7570 1gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel

I only smile because i have absolutely no idea whats going on
warlock12
7
Years of Service
User Offline
Joined: 12th Sep 2016
Location: Argentina
Posted: 29th Oct 2017 23:03
Wow !!! Interesting mechanics ... I could help ... bah! If I could help, I would not be so stuck by the poor management of lua! ha ha ha ... I hope you can solve it!
A big hug!
The game is a serious thing (El juego es una cosa seria)
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 1st Nov 2017 23:30
Yes got it solved thanks Warlock12
Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
AMD Radeon 7570 1gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel

I only smile because i have absolutely no idea whats going on

Login to post a reply

Server time is: 2024-03-28 11:36:17
Your offset time is: 2024-03-28 11:36:17