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))))
 
(10 intermediate revisions by one other user not shown)
Line 4: Line 4:
| trainerFile = The relative file path of the Trainer File without extension. (Pokemon\Scripts\trainer\xxx)
| 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)
| 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 -->
<!-- Pokémon Data -->
Line 11: Line 12:
| 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>
| statName = Set the Stats. ( chp, hp, maxhp, atk, attack, def, defense, spatk, spattack, specialattack, spdef, spdefense, specialdefense, speed )


<!-- Battle -->
<!-- Battle -->
| varName = The variables are canrun, cancatch, canblackout, canreceiveexp, canuseitems, frontiertrainer, divebattle, inversebattle, custombattlemusic and hiddenabilitychance.
| 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 and hiddenabilitychance is integer.
| 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>
| 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 -->
<!-- Position -->
| x = x coordinate of the object.
| x = x coordinate of the object. ~ for player position.
| y = y coordinate of the object.
| y = y coordinate of the object. ~ for player position.
| z = z coordinate of the object.
| 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.
Line 31: Line 34:
| 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 )
| 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 -->
<!-- Storage -->
Line 44: Line 49:
| isCentered = Whether the text is at the center.
| isCentered = Whether the text is at the center.
| text = Define the text to display.
| 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.