Issue Data
|
Issue #34009: Additional start up checks for CreationClub:StartAfterCharGenScript
Some Creations allow the player to access high-level weapons or go to higher-level areas around the map. If one uses Automatron as an example, the player cannot start the quest until level 15 to gain access to the higher-level dungeon, area, and weapons.
Would an update to CreationClub:StartAfterCharGenScript to allow additional checks be something that UFO4P could/should do? For example, this added/changed: Group Optional_Properties Int Property PlayerLevelToCheck = 1 Auto Const { OPTIONAL: Player's level. Default: Level 1} Location Property LocationToCheck Auto Const { OPTIONAL: Location to Check. } ObjectReference Property ObjectToCheck Auto Const { OPTIONAL: Marker or other thing in a location to check 3D has not loaded to make sure the player is NOT in the location when the quest starts.} Bool Property bCheckLocation = false Auto Const { OPTIONAL: Whether or not to check location. Default: False.} Bool Property bCheckObject3D = false Auto Const { OPTIONAL: Whether or not the script needs to check if an object is 3D loaded. Default: False.} EndGroup Event Actor.OnLocationChange(Actor akSender, Location akOldLoc, Location akNewLoc) ; check if time to start if bCheckObject3D if ObjectToCheck.Is3DLoaded() == 0 debug.trace(self + "Passed requirements" ) CheckStageToSet() endif else UnregisterForRemoteEvent(Game.GetPlayer(), "OnLocationChange" ) endif EndEvent ; update the original function Function CheckStageToSet() if bCheckLocation RegisterForRemoteEvent(Game.GetPlayer(), "OnLocationChange" ) endif if MQ102.GetStageDone(ChargenStageToWatch) == true && Game.GetPlayer().GetLevel() >= PlayerLevelToCheck if bCheckLocation if Game.GetPlayer().IsInLocation(LocationToCheck) == 0 SetStage(MyStageToSet) endif else SetStage(MyStageToSet) endif else RegisterForRemoteEvent(MQ102, "OnStageSet" ) endif EndFunction |
This would be outside the scope of the project since this isn't addressing a bug with the game.
Showing Comments 1 - 1 of 1