toneisland85 Posted August 6 Share Posted August 6 Hi All I wonder if someone could help? im a newbie in the world of modding and have been working on a deployable turrets mod. The script I am currently using allows me to drop (Thanks Kinggath) from a misc item and deploy a turret but I would love to make it so a thrown mine or grenade triggers the deployment of the turret. Could anyone please point me in the right direction of where to start with this script please? I.e what event do I need for this an should i be using keywords on the grenade itself? Again Im a complete newbie but really eager to learn so any advice would be incredible Thanks Link to comment Share on other sites More sharing options...
adb3nj Posted August 7 Share Posted August 7 (edited) Grenades have a projectile override, which have an associated explosion. You can attach an object effect to the explosion, which has an enchantment, which has a base effect, and to the base effect you can attach a script that deploys a turret on impact. Yes, it's a bit of a head-spinner! The script itself should be relatively simple though. Edit – I don't think you need a script at all, actually! Or object effects or any of that. There's a field in the explosion for 'placed object'. Just fill that with your turret ID. Edited August 7 by adb3nj Link to comment Share on other sites More sharing options...
toneisland85 Posted August 7 Author Share Posted August 7 12 hours ago, adb3nj said: Grenades have a projectile override, which have an associated explosion. You can attach an object effect to the explosion, which has an enchantment, which has a base effect, and to the base effect you can attach a script that deploys a turret on impact. Yes, it's a bit of a head-spinner! The script itself should be relatively simple though. Edit – I don't think you need a script at all, actually! Or object effects or any of that. There's a field in the explosion for 'placed object'. Just fill that with your turret ID. Dude you are an absolute life saver thank you! I did as you suggested and created two new forms (Explosion and Projectile) and once both of these were linked I linked them to a duplicate cryo grenade form which was linked to my Turret Actor and BAAAM! Works like a dream!!!! Link to comment Share on other sites More sharing options...
Recommended Posts