SpeedyB64 Posted January 10, 2009 Share Posted January 10, 2009 I have seen this in scripting. When one script changes the variable in another script, I saw this in the arena scripting in the oblivion cs. I am working on an arena for fallout and am basing my scripts on how theirs work. Here is an example: ; stops combat if player disqualifiedif Arena.Disqualified == 2 Set Arena.Disqualified to 3 player.scaonactor ; stops all combat against player set ArenaAggression.KickedOut to ArenaAggression.KickedOut+1 combatant1.SetActorValue "Aggression" , 0 combatant1.StopCombat Player combatant2.SetActorValue "Aggression" , 0 combatant2.StopCombat Player combatant3.SetActorValue "Aggression" , 0 combatant3.StopCombat Player ArenaBoarRef.StopCombat combatant1.StopCombat ArenaBoarRef combatant2.StopCombat ArenaBoarRef combatant3.StopCombat ArenaBoarRef Playsound "AMBArenaCrowdBoo" endif The "Set Arena.Disqualified to 3" line changes a variable in another script, how do I do that? Link to comment Share on other sites More sharing options...
SpeedyB64 Posted January 10, 2009 Author Share Posted January 10, 2009 Figured it out! In the line "Set Arena.Disqualified to 3" the "Arena" is the quest the script is attached to. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.