Class: Game_SelfSwitches
new Game_SelfSwitches ()
[EV ページ]の条件判定で使われる[セルフスイッチ]を扱うためのクラス。
関連クラス: Game_Variables, Game_Switches, RPG.EventPage, RPG.EventPage.Conditions, RPG.BattleEventPage, RPG.BattleEventPage.Conditions
Properties:
Name |
Type |
Description |
_data |
Object |
{key: Array, …} の形 |
Methods
clear ()
[セルフスイッチ]のデータを初期化。
initialize ()
オブジェクト生成時の初期化。
onChange ()
スイッチの変更時に呼ばれるハンドラ。
(マップの書き換えを予約)
setValue (key, value)
指定した[セルフスイッチ]に値を設定。
タイプは A,B,C,D いずれかの文字。
Parameters:
Name |
Type |
Description |
key |
Array.<*> |
[ マップ ID, イベント ID, タイプ ] の配列 |
value |
Boolean |
スイッチが ON か |
value (key) → {Boolean}
指定キーの値が ON か。
タイプは A,B,C,D いずれかの文字。
Parameters:
Name |
Type |
Description |
key |
Array.<*> |
[ マップ ID, イベント ID, タイプ ] の配列 |
Menu
RPG ツクール MV JavaScript 非公式リファレンスClass: ArrayClass: AudioManagerClass: BattleManagerClass: BitmapClass: CacheEntryClass: CacheMapClass: ConfigManagerClass: DataManagerClass: DecrypterClass: Game_ActionClass: Game_ActionResultClass: Game_ActorClass: Game_ActorsClass: Game_BattlerClass: Game_BattlerBaseClass: Game_CharacterClass: Game_CharacterBaseClass: Game_CommonEventClass: Game_EnemyClass: Game_EventClass: Game_FollowerClass: Game_FollowersClass: Game_InterpreterClass: Game_ItemClass: Game_MapClass: Game_MessageClass: Game_PartyClass: Game_PictureClass: Game_PlayerClass: Game_ScreenClass: Game_SelfSwitchesClass: Game_SwitchesClass: Game_SystemClass: Game_TempClass: Game_TimerClass: Game_TroopClass: Game_UnitClass: Game_VariablesClass: Game_VehicleClass: GraphicsClass: Html5AudioClass: ImageCacheClass: ImageManagerClass: InputClass: JsonExClass: MV.AudioParametersClass: MV.BattleLogMethodClass: MV.BattleRewardsClass: MV.BattlerAnimationClass: MV.ColorClass: MV.CommandItemClass: MV.ConfigDataClass: MV.CssColorClass: MV.DatabaseFileClass: MV.MatrixClass: MV.MotionClass: MV.PluginSettingsClass: MV.SaveContentsClass: MV.SaveFileInfoClass: MV.TextStateClass: MV.ToneClass: MV.TouchInputEventsNamespace: MVClass: MathClass: NumberClass: PIXI.ContainerClass: PIXI.DisplayObjectClass: PIXI.GraphicsClass: PIXI.RendererClass: PIXI.SpriteClass: PluginManagerClass: PointClass: RPG.ActorClass: RPG.Animation.TimingClass: RPG.AnimationClass: RPG.ArmorClass: RPG.AudioFileClass: RPG.BaseItemClass: RPG.BattleEventPage.ConditionsClass: RPG.BattleEventPageClass: RPG.Class.LearningClass: RPG.ClassClass: RPG.CommonEventClass: RPG.DamageClass: RPG.EffectClass: RPG.Enemy.ActionClass: RPG.Enemy.DropItemClass: RPG.EnemyClass: RPG.EquipItemClass: RPG.EventClass: RPG.EventCommandClass: RPG.EventPage.ConditionsClass: RPG.EventPage.ImageClass: RPG.EventPageClass: RPG.ItemClass: RPG.Map.EncounterClass: RPG.MapClass: RPG.MapInfoClass: RPG.MetaDataClass: RPG.MoveCommandClass: RPG.MoveRouteClass: RPG.SkillClass: RPG.StateClass: RPG.System.AttackMotionClass: RPG.System.TermsClass: RPG.System.TestBattlerClass: RPG.System.VehicleClass: RPG.SystemClass: RPG.TilesetClass: RPG.TraitClass: RPG.Troop.MemberClass: RPG.TroopClass: RPG.UsableItemClass: RPG.WeaponNamespace: RPGClass: RectangleClass: RequestQueueClass: ResourceHandlerClass: SceneManagerClass: Scene_BaseClass: Scene_BattleClass: Scene_BootClass: Scene_DebugClass: Scene_EquipClass: Scene_FileClass: Scene_GameEndClass: Scene_GameoverClass: Scene_ItemClass: Scene_ItemBaseClass: Scene_LoadClass: Scene_MapClass: Scene_MenuClass: Scene_MenuBaseClass: Scene_NameClass: Scene_OptionsClass: Scene_SaveClass: Scene_ShopClass: Scene_SkillClass: Scene_StatusClass: Scene_TitleClass: ScreenSpriteClass: ShaderTilemapClass: SoundManagerClass: SpriteClass: Sprite_ActorClass: Sprite_AnimationClass: Sprite_BalloonClass: Sprite_BaseClass: Sprite_BattlerClass: Sprite_ButtonClass: Sprite_CharacterClass: Sprite_DamageClass: Sprite_DestinationClass: Sprite_EnemyClass: Sprite_PictureClass: Sprite_StateIconClass: Sprite_StateOverlayClass: Sprite_TimerClass: Sprite_WeaponClass: Spriteset_BaseClass: Spriteset_BattleClass: Spriteset_MapClass: StageClass: StorageManagerClass: StringClass: TextManagerClass: TilemapClass: TilingSpriteClass: ToneFilterClass: ToneSpriteClass: TouchInputClass: UtilsClass: WeatherClass: WebAudioClass: WindowClass: WindowLayerClass: Window_ActorCommandClass: Window_BaseClass: Window_BattleActorClass: Window_BattleEnemyClass: Window_BattleItemClass: Window_BattleLogClass: Window_BattleSkillClass: Window_BattleStatusClass: Window_ChoiceListClass: Window_CommandClass: Window_DebugEditClass: Window_DebugRangeClass: Window_EquipCommandClass: Window_EquipItemClass: Window_EquipSlotClass: Window_EquipStatusClass: Window_EventItemClass: Window_GameEndClass: Window_GoldClass: Window_HelpClass: Window_HorzCommandClass: Window_ItemCategoryClass: Window_ItemListClass: Window_MapNameClass: Window_MenuActorClass: Window_MenuCommandClass: Window_MenuStatusClass: Window_MessageClass: Window_NameEditClass: Window_NameInputClass: Window_NumberInputClass: Window_OptionsClass: Window_PartyCommandClass: Window_SavefileListClass: Window_ScrollTextClass: Window_SelectableClass: Window_ShopBuyClass: Window_ShopCommandClass: Window_ShopNumberClass: Window_ShopSellClass: Window_ShopStatusClass: Window_SkillListClass: Window_SkillStatusClass: Window_SkillTypeClass: Window_StatusClass: Window_TitleCommandGlobalクラスツリー