Login
Register
Menu
Home
Forum
JassDoc
Types
Functions
Variables
Help
Chat
Media
Search
Search posts
WC3 JASS.com
"The Jass Vault" plus vJASS and Zinc
WC3 Modding Information Center
Forum
Warcraft (WC3) Modding
Triggers & Scripting
WC3JASS.com
Jassdoc
[functions] Preloader
Warcraft III:
Maps
Models
Skins
Icons
Spells / Systems
Tools
Tutorials
Snippets
JASS vJASS Spells and Systems
Tutorials
Chat @Discord
vJASS & Zinc Documentation
For the latest documentation about how it works vJASS and Zinc language layers for Warcraft III, please follow these links:
Jasshelper documentation
-
Zinc documentation
-
WC3 Optimizer documentation
This topic is the discussión abut the function
Preloader
. You can see all the information about this function keyword
HERE
.
[functions] Preloader
Jassdoc
Started by
City17
Views
309
Replies
0
Users
1
1
Pages:
1
Go Down
0 Members and 1 Guest are viewing this topic.
City17
Starter - level 2
Posts:
450
WC3 Models: 0
WC3 Tutorials: 0
WC3 Tools: 0
WC3 Maps: 0
WC3 Skins: 0
WC3 Icons: 0
WC3 Spells: 0
Reputation:
0
User
[functions] Preloader
on:
April 11, 2022, 09:08:53 PM
Runs the
filename
as a preload script, only if the filename has an extension. For Jass, the capabilities are very restricted.
There're no restrictions for Lua code if you add it to Preload files (which are supposed to be in Jass), that's only possible with
dirty hacks or manual editing
. If the map runs in Lua mode, the Jass code is transpiled using Jass2Lua before execution.
Look up order when "Allow Local Files" is enabled:
0. Map resources
1.
%USERPROFILE%\Documents\Warcraft III\CustomMapData\
2. Game data folder:
Warcraft III\_retail_\
3. (presumably) game MPQs/CASC
Example from blizzard.j:
Code: jass
if
(doPreload)
then
call
Preloader
(
"scripts
\\
HumanMelee.pld"
)
endif
See:
Preload
,
PreloadEnd
,
PreloadStart
,
PreloadRefresh
,
PreloadEndEx
,
PreloadGenClear
,
PreloadGenStart
,
PreloadGenEnd
«
Last Edit: April 16, 2022, 03:42:49 AM by City17
»
Print
Pages:
1
Go Up
« previous
next »
WC3 Modding Information Center
Forum
Warcraft (WC3) Modding
Triggers & Scripting
WC3JASS.com
Jassdoc
[functions] Preloader
Suggested Topics
Jassdoc introduction
Started by
moyack
Replies: 3
Views: 4233
Jassdoc
Old Jass Functions
Started by
Jedi
Replies: 5
Views: 14820
General Jass Discussion
[reference] common.j
Started by
moyack
Replies: 40
Views: 58677
Jass Theory & Questions
Resource Preloader
Started by
AGD
Replies: 1
Views: 8059
Codes & Snippets
[functions] BlzGetTriggerPlayerMouseX
Started by
moyack
Replies: 0
Views: 658
Jassdoc
PortaMx-SEF 1.54
|
PortaMx © 2008-2015
,
PortaMx corp.
Search
Username
Password
Always stay logged in
Forgot your password?