Difference between revisions of "Template:ScriptArgumentV2/Name"

From Pokémon 3D Wiki
Jump to navigation Jump to search
m
m (Changed protection level for "Template:ScriptArgumentV2/Name" ([Edit=Allow only autoconfirmed users] (expires 19:55, 25 January 2021 (UTC)) [Move=Allow only autoconfirmed users] (expires 19:55, 25 January 2021 (UTC))))
 
(30 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>{{WarningV2}}</noinclude><includeonly>{{#Switch:{{{1|}}}
<noinclude>{{WarningV2}}</noinclude><includeonly>{{#Switch:{{{1|}}}
| trainerFile = The file path of the Trainer File.
 
| musicloop = The file name of the Music File.
<!-- Pokémon files -->
| pokemonID = The Pokémon dex number.
| trainerFile = The relative file path of the Trainer File without extension. (Pokemon\Scripts\trainer\xxx)
| musicloop = The file name of the Music File without extension. (Pokemon\Content\Songs\xxx)
| musicFile = The file name of the Music File without extension. (Pokemon\Content\Songs\xxx)
 
<!-- Pokémon Data -->
| pokemonID = The Pokémon national dex number.
| pokemonData = The [[Pokemon Code|Pokémon Code]].
| pokemonData = The [[Pokemon Code|Pokémon Code]].
| varName = The var are canrun, cancatch, canblackout, canreceiveexp, canuseitems, frontiertrainer,divebattle, inversebattle.
| pokemonIndex = The index of the Pokémon. First Pokémon start from zero.
| level = The Pokémon Level.
| level = The Pokémon Level.
| shiny = <nowiki>-1 = Random, 0 = Not shiny, 1 = Always shiny.</nowiki>
| shiny = <nowiki>-1 = Random, 0 = Not shiny, 1 = Always shiny.</nowiki>
| varValue = Boolean either True or False.
| statName = Set the Stats. ( chp, hp, maxhp, atk, attack, def, defense, spatk, spattack, specialattack, spdef, spdefense, specialdefense, speed )
| x = x coordinate of the object.
 
| y = y coordinate of the object.
<!-- Battle -->
| z = z coordinate of the object.
| varName = The variables are canrun, cancatch, canblackout, canreceiveexp, canuseitems, frontiertrainer, divebattle, inversebattle, custombattlemusic and hiddenabilitychance.
| varValue = The value for the variable. Usually it is a Boolean. custombattlemusic is string, frontiertrainer and hiddenabilitychance is integer.
| introtype = <nowiki>0 = Black Checker Boxes, 1 = Black Horizontal Lines, 2 = Black Vertical Lines, 3 = Black Box Expand out, 4 = Black Box Expand in, 5 = White Checker Boxes, 6 = White Horizontal Lines, 7 = White Vertical Lines, 8 = White Box Expand out, 9 = White Box Expand in, 10-11 = Not useable, 12 = Blur Zoom in effect</nowiki>
| additionalTrainerData = The additional trainer data. Accepted values: generate_pokemon_tower
 
<!-- Position -->
| x = x coordinate of the object. ~ for player position.
| y = y coordinate of the object. ~ for player position.
| z = z coordinate of the object. ~ for player position.
| xS = The scale of the object in terms of x coordinate.
| xS = The scale of the object in terms of x coordinate.
| yS = The scale of the object in terms of y coordinate.
| yS = The scale of the object in terms of y coordinate.
| zS = The scale of the object in terms of z coordinate.
| zS = The scale of the object in terms of z coordinate.
| yaw = The direction of the object in terms of left and right.
| yaw = The direction of the object in terms of left and right.
| pitch = The direction of the object in terms of up and down.
| pitch = The direction of the object in terms of up and down. For pitch in terms of sound, [http://en.wikipedia.org/wiki/Pitch_%28music%29 refer this for more detail]
 
<!-- ID -->
| daycareID = ID of the Daycare you are referring to.
| daycareID = ID of the Daycare you are referring to.
| bulbID = ID of the message Bulb. ( 0 = Waiting, 1= Exclamation, 2 = Shouting, 3 = Question, 4 = Note, 5 = Heart, 6 = Unhappy, 7 = Happy, 8 = Friendly, 9 = Poisoned, 10 = Battle, 11 = Wink, 12 = AFK, 13 = Angry, 14 = CatFace, 15 = Unsure )
| entityID = ID of the Entity you are referring to.
| entityID = ID of the Entity you are referring to.
| PokemonDaycareIndex = Daycare slot for Pokémon to be stored in.
| newID = Change the Old ID into this new ID.
<!-- Storage -->
| type = The types are pokemon, item, string, integer, boolean, single, str, int, bool, sng.
| operation = The operation are add, addition, plus, +, substract, substraction, minus, -, multiply, multiplication, *, divide, division, /.
<!-- Title -->
| R = The red color value.
| B = The blue color value.
| G = The green color value.
| delay = The amount of ticks before it fade out. 10 ticks is about 1 second.
| scale = The size of the text.
| isCentered = Whether the text is at the center.
| text = Define the text to display.
| opacity = To set the opacity of the object from transparent: 0 to opaque: 100.
| visible = The visibility of the object.
| additionalValue = The additional value for the object.
| collision = Whether the player can walk through the object.
| textureIndex = The texture index value.
| textureName = The texture file name.
| rX = The start coordinate of the texture rectangle.
| rY = The start coordinate of the texture rectangle.
| rWidth = The width of the texture rectangle.
| rHeight = The height of the texture rectangle.
| weatherID = The ID of the weather. ( 0 = Current Region Weather, 1 = Clear, 2 = Rain, 3 = Snow, 4 = Underwater, 5 = Sunny, 6 = Fog, 7 = Sandstorm, 8 = Ash, 9 = Blizzard )
| canfly = Whether the player can use fly.
| candig = Whether the player can use dig.
| canteleport = Whether the player can use teleport.
| canencounter = Whether you can encounter Pokémon.
| isDark = Whether the place is dark.
| distance = The render distance. ( 0-4 tiny, small, normal, far, extreme )
| ItemID = The Item ID.
| ItemName = The Item name.
| Amount = Amount of the item to be given or taken away.
| showMessage = whether to show the message prompt.
| RepelItemID = The Repel ID. ( 20 = Repel, 42 = Super Repel, 43 = Max Repel )
| ticks = The amount of ticks. Usually 10 ticks is about 1 second.
| safari = Change the battle style to safari.
| autodetect = Sets if the Pokédex registers seen Pokémon in wild or trainer battles.
| doCameraUpdate = Sets if the camera should update or not.
| This is undocumented in [[Template:ScriptArgumentV2/Name|Wiki Script Library]].
| This is undocumented in [[Template:ScriptArgumentV2/Name|Wiki Script Library]].
}}</includeonly>
}}</includeonly>

Latest revision as of 21:55, 24 January 2021

This template is locked and not editable by normal users.

Reason: This is protected to prevent unwanted wiki page from malfunctioning. This template could be linked to some major pages which are important.

Does this page need updating? Shoot a message in #wiki_contribution on Discord at Pokemon 3D discord server.