Script Call Support Boards

Hi everyone, can i ask if anyone know a script call to increase enemy no.1 (in troop) TP by x points ?

Thanks.
There seem to be quite a number of "how do I do XYZ with scripts?" questions being asked here recently. Please keep in mind THIS thread is ONLY for script methods to do something you can already do via event commands. If you can't already do what you want with event commands, your question belongs in either the RGSS3 Script Requests or RGSSx Script Support forum.


Before you post here, try and do what you want via events. If you can do it, go ahead and post, and tell us how you've done it with events, and we'll tell you the script calls to accomplish the same thing. If you can't do it via events, don't post your question here.
I need RGSS3 command to Change a single map tile insteed of the whole tileset via eventcommand.

I somewhere read that command in this forum, but iam not able to find it again.
I need RGSS3 command to Change a single map tile insteed of the whole tileset via eventcommand.


I somewhere read that command in this forum, but iam not able to find it again.
You can't find it because that doesn't exist in the default engine. Maps are fixed by default, and you'll need to add a script to the script editor to create such a command.
There are three different scripts that can do this, one by Tsukihime, one by fomar (if I remember correlty), the third scripter I don't remember at the moment.
im using this :
module TitleMenu
 
   MAIN_IMAGE   = "mainmenu"
   
  
end 
 
 
 
class Window_Main_Menu < Window_Base
  def initialize
    super(0 ,0 ,0 ,0)
    @sprite1 = Sprite.new
    @sprite1.bitmap = Cache.system( TitleMenu::MAIN_IMAGE )
    @sprite1.x = ( 0 )
    @sprite1.y = ( 0 )
    @sprite1.z = 10
    @sprite1.opacity = 255
  end
end
 
class Scene_Main_Menu < Scene_Base
  def start
    super
    @main_menu_window = Window_Main_Menu.new
  end
  def update
    super
    @main_menu_window.update
    if Input.trigger?🙂C)
      SceneManager.goto(Scene_Map)
    end
  end
  def terminate
    super
    @main_menu_window.dispose
  end
end
 
 
 
 
and the image turns out fine but is isnt transparent as it should be. 

it shows up ok but i cant see my charecter under it.

it has a dark background.

any way to get rid of the black background?
That is a script, not a script call. Please post your question in the correct forum (ie - RGSSx Script Support)
How to properly call the Set Move Route for an Event via Eventcommand Script?

I saw it in the Main Thread List, but didnt saw the Call how its written exactly?

#Example_Pseudo_Code

$game_map.events[id] set moveroute (towards player) repeat for example
Once you set up the move route, you've got to do this:

$game_map.events[id].force_move_route(move_route)

where move_route is the new move route you've created.

So to move towards the player, the full script call would be:

Code:
move_route = RPG::MoveRoute.newmove_route.repeat = truemove_route.skippable = truem = RPG::MoveCommand.newm.code = X                move_route.list.insert(0,m.clone)$game_map.events[ID].force_move_route(move_route)
But where I've got X, you've got to look up the number for the "move toward player" action, which you can find in the Game_Character script.
Oh thanks i will try that out, hopefully it just works. See you later.
I need RGSS3 command to Change a single map tile insteed of the whole tileset via eventcommand.

I somewhere read that command in this forum, but iam not able to find it again.
You can't find it because that doesn't exist in the default engine. Maps are fixed by default, and you'll need to add a script to the script editor to create such a command.

There are three different scripts that can do this, one by Tsukihime, one by fomar (if I remember correlty), the third scripter I don't remember at the moment.
EDIT: Someone gave me the RGSS3 Command, it exists 🙂 Now we both learned something new.

$game_map.data[11,5,2] = 75
EDIT: Someone gave me the RGSS3 Command, it exists 🙂 Now we both learned something new.

$game_map.data[11,5,2] = 75
Unfortunately that command only works temporarily - changes done that way aren't saved, which means that if you leave the map and return the orgininal, unchanged map will be back.
Unfortunately that command only works temporarily - changes done that way aren't saved, which means that if you leave the map and return the orgininal, unchanged map will be back.
I just Tested it, and changes are Safed and Loaded correctly in my fesh Project without other Scripts.

I mean the Safe Function when Opening Menü or Safe Crystal.

Yes on Map Change the Changes will go away, but thats no Problem, or if it is, there are other ways to work around that.

Something usefull^^ How it Works:

$game_map.data[11,5,2] = 75

$game_map.data[mapx,mapy,layer] = Tile of Current Tileset

0 = Layer A Z-Value

1 = Layer A2 Z-Value

2 = Layer (B-E) Z-Value

3 = (Some strange shadow placement^^)

0= No Tile (Or first Tile of B Set?)

1 to ???  Tile IDs from (B-E) Tileset

somewhere around 1800 the A Tileset Tiles apear.

Use Eventcommand  Get Location Info, to get the Correct numbers for your Wanted Tile.

Didnt tested it further.
They would only be "permanent" if you put the commands into a parallel process event that runs each time the map is loaded, or if you had a script that saved them. Andar actually does know what he's talking about, despite you thinking otherwise 😉
Nope i dont Shaz, iam no Scripter, so i depend/rely on People like him and the other fine Scripters in this Community.
It just sounded like Andar said it's only a temporary solution, and you said it wasn't because you saved, loaded and it worked.
Just wanted to Point out the difference of it working poperly in Safe File and not at Map Change^^.

In Steam Forum someone wrote Script so it can be Safed, but he mentioned that it could Blood my Safefiles if the Game is Big.

So when iam continuing with this i will Check out his Scipt , or i will use some Event Self Variables Script, than i Create a

Variable name that includes 4words/values  mapx,mapy, mapid, name of the tile self var. But iam no Scripter, that means i have to Puzzle unitl the commandsa will Work sooner or Later.

Thanks Guys again. Next User, Next Problem,please. 🙂
Can someone tell which area in the scripts is in charge of which letters are present in the Name Input command?

For example if I want the player to only be able to use capital letters for his name.
Hello everyone. Plz help. I Use ENU Tanketai, How check with "Conditional Branch (Script)"  that the target Actor №1. what script?
hi can any any one help me what cause this error??

Untitled.png
@jonikari - not a question for this thread. Please post a new thread.


@Blacklst - depends - are you just talking about the menu, or in battle?


@zwayne990 - NOT a question for this thread. Please be more careful about where you post.

Original thread: https://forums.rpgmakerweb.com/threads/script-call-support-boards.25767/