Using globals from other mods

Post » Fri Apr 12, 2013 7:49 am

Is it safe to do this? For example, if in my mod I decide I want to know if the player is using NOM (and is hungry), can I just create a global by the same name of whatever the hunger global in NOM is and reference it in my mod, or will this interfere with how it behaves in the original?
User avatar
cosmo valerga
 
Posts: 3477
Joined: Sat Oct 13, 2007 10:21 am

Post » Fri Apr 12, 2013 12:12 pm

As long as you don't modify the global in your scripts and make sure its characteristics like short or float be same too, I'd say no problem.
User avatar
Leticia Hernandez
 
Posts: 3426
Joined: Tue Oct 23, 2007 9:46 am

Post » Fri Apr 12, 2013 1:51 pm

Great, thanks.
User avatar
Sabrina Schwarz
 
Posts: 3538
Joined: Fri Jul 14, 2006 10:02 am


Return to III - Morrowind

cron