AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
World of warships python mod loader2/10/2024 ![]() ![]() This function returns True if the ship is on fire, or False if it isn’t for example, you can use it in the event handler function "events.onReceiveShellInfo(func)" (see the description in the "events" methods). The input parameter is ammoId (the shell ID, this value can be obtained in the event handler function "events.onReceiveShellInfo(func)" (see the description in the "events" methods). This function returns an object with information about the shell. The input parameter is shipId (the ship’s ID). ![]() The input parameter is playerId (the player’s ID). This function returns an object with information about the player’s ship. ![]() The input parameter is name (the player’s nickname). This function returns an object with information about the player. ![]() This function returns an object with player information. To view the result, you can pass it to the "World_of_Warships\profile\python.log" file via "print", or write it in a separate file "open('filename', 'w')". This function returns a dict, where keys are "playerID", and values are dict "PlayerInfo" with various information about the player. To handle events you need to use "events.onSFMEvent" (see the description below in the "events" methods), returned parameters of this event are "eventName" (an event name), "eventData" (a dict with event parameters). Working with "battle" methods is only possible after entering a battle (for a situation when an event is triggered, see the "events" methods), otherwise methods do not return anything as information they handle is only available in battle. ![]()
0 Comments
Read More
Leave a Reply. |