Modify titleset by script

FodasticoMan

Veteran
Veteran
Joined
Oct 11, 2015
Messages
41
Reaction score
3
First Language
Portuguese
 



 



An example that does not work


Code:
if $gameParty.leader.id==1
{
   $gameMap.tilesetId(7)
   $gameMap.reloadMap
}
else
{
   $gameMap.tilesetId(1)
   $gameMap.reloadMap
}
 

kiriseo

Veteran
Veteran
Joined
Oct 27, 2015
Messages
245
Reaction score
82
First Language
German
Try

Code:
if($gameParty.leader().actorId() === 1) {  $gameMap.changeTileset(7);  $gameMap.refresh();}else{  $gameMap.changeTileset(1);  $gameMap.refresh();}
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,867
Messages
1,017,061
Members
137,575
Latest member
akekaphol101
Top