Keldis Posted March 28, 2012 Share Posted March 28, 2012 (edited) So as the title already says. Is it possible in Skyrim to store unsigned int values? Because i need it for a mod im working on at the moment, the command i use cant convert Signed Ints to Form ID (GetForm(Form) Command) when they are negative values. Here is a video of the mod im working on, the mod is a Tag Spell, which tags enemys and stores them in a GlobalVariables and a second spell "Executes" the tagged enemys, the problem is that this only works for NPC which ref ids are within the SIgned Int Range (2.147.483.647 ) and after that it starts with the negative (-2.147.483.647) which cant be back converted to a form. Basicaly every Random Encounter (Thungs, Thieves, Script Spawn, Assassins etc) starts with FFxxxxxx which is already a Negative value. so Hope anyone can help me here. The video: Edited March 28, 2012 by DarkenDe Link to comment Share on other sites More sharing options...
tunaisafish Posted March 28, 2012 Share Posted March 28, 2012 Why not bypass the problem, and store the Actor variables directly.So instead of globals, you'll make some Actor properties in a quest script. Scriptname MyVariableQuest extends Quest Actor Property target1 Auto Actor Property target2 Auto The replace your global refs in your code with ones to the quest. MyVariableQuest Property MyGlobals Auto MyGlobals.target1 = aktarget Link to comment Share on other sites More sharing options...
Keldis Posted March 28, 2012 Author Share Posted March 28, 2012 (edited) EDIT: Thanks for your help mate, finaly i got it working +Kudos ;D Edited March 28, 2012 by DarkenDe Link to comment Share on other sites More sharing options...
Recommended Posts