OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Gron on 09 Feb 2005, 22:39:54

Title: changing configs from init.sqs?
Post by: Gron on 09 Feb 2005, 22:39:54
The topic says it all, so can i ie set a different armour value  to a specific unit in a single mission without actually making the change in itÂ's config, and therefore avoiding any hard feelings from any addonmaker?
Title: Re:changing configs from init.sqs?
Post by: Dubieman on 09 Feb 2005, 23:13:36
No, pretty sure the answer is no. :P ;D

All I know is you can't jump into a .pbo before the mission starts and increase the armor value. You need to go into the config, do it then repbo it which actually makes a "new" addon(just modded).  

Title: Re:changing configs from init.sqs?
Post by: Gron on 09 Feb 2005, 23:30:30
thanks for the answer, guess I wonÂ't need to bother about it anymore then :)
Title: Re:changing configs from init.sqs?
Post by: General Barron on 10 Feb 2005, 03:42:13
You can fake it via scripts. Here is a link to an older script that does just that, although you can do it better using eventhandlers nowadays:

http://ofpec.com/editors/resource_view.php?id=239