Script-edit request
2 posters
Page 1 of 1
Script-edit request
What I was trying to do all last night unsuccessfully, is edit Woratana's MiniMap script to turn on and off by pressing M. Through every method I tried, which of course turned out unsuccessful, would freeze the minimap, as in it would not show my character moving around the minimap, and would not turn off nor on.
Could someone take the trouble of editting this stupid script for me to turn on and off at the press of a button?
The script can be found here : http://www.rpgrevolution.com/forums/index.php?showtopic=17207&hl=Minimap
Could someone take the trouble of editting this stupid script for me to turn on and off at the press of a button?
The script can be found here : http://www.rpgrevolution.com/forums/index.php?showtopic=17207&hl=Minimap
Re: Script-edit request
This has been solved, as far as I know, by changing
- Code:
class Spriteset_Map
def update
if !@minimap.nil?
if $game_system.show_minimap
@minimap.visible = true
@minimap.update
else
@minimap.visible = false
end
end
wora_minimap_sprsetmap_upd
end
end
- Code:
class Spriteset_Map
def update
if Input.trigger?(Input::Y)
$game_switches[MiniMap::SWITCH_NO_MINIMAP] = !$game_switches[MiniMap::SWITCH_NO_MINIMAP]
end
if !@minimap.nil?
if $game_system.show_minimap
@minimap.visible = true
@minimap.update
else
@minimap.visible = false
end
end
wora_minimap_sprsetmap_upd
end
end
IMP1- Coding Moderator
- Posts : 503
Gald : 1399
Stats
Cookies: 5
Similar topics
» A script request!
» Script Request, Save System
» Script Request, Refine System
» Character Creation Script [Request]
» HUD request
» Script Request, Save System
» Script Request, Refine System
» Character Creation Script [Request]
» HUD request
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|