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
Warcraft III Resources
Warcraft III Spells and Systems
Codes & Snippets
Init
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
Init
Codes & Snippets
Started by
moyack
Views
1597
Replies
0
Users
1
1
Pages:
1
Go Down
0 Members and 1 Guest are viewing this topic.
nestharus
Newbie - level 2
Posts:
23
WC3 Models: 0
WC3 Tutorials: 0
WC3 Tools: 0
WC3 Maps: 0
WC3 Skins: 0
WC3 Icons: 0
WC3 Spells: 0
Reputation:
20
User
Init
on:
February 22, 2012, 06:26:04 PM
Category:
Variables
Language:
vJASS
Code: jass
library
Init
/* v1.0.0.0
************************************************************************************
*
* module Init
*
* interface private static method init takes nothing returns nothing
* - Runs at map init
*
*************************************************************************************
*
* module InitTimer
*
* interface private static method init takes nothing returns nothing
* - Runs after a one-shot timer with a period of 0
*
************************************************************************************/
module
Init
static
if
thistype
.init.exists
then
private
static
method
onInit
takes
nothing
returns
nothing
call
init()
endmethod
endif
endmodule
module
InitTimer
static
if
thistype
.init.exists
then
private
static
method
initex
takes
nothing
returns
nothing
call
DestroyTimer
(
GetExpiredTimer
())
call
init()
endmethod
private
static
method
onInit
takes
nothing
returns
nothing
call
TimerStart
(
CreateTimer
(), 0,
false
,
function
thistype
.initex)
endmethod
endif
endmodule
endlibrary
«
Last Edit: December 19, 2017, 12:55:10 AM by moyack
»
Print
Pages:
1
Go Up
« previous
next »
WC3 Modding Information Center
Forum
Warcraft (WC3) Modding
Warcraft III Resources
Warcraft III Spells and Systems
Codes & Snippets
Init
Suggested Topics
Inside The Hero - A Guide For Hero Idea Creation
Started by
s[ub]lime
Replies: 25
Views: 33506
Tutorial Zone
[functions] InitGameCache
Started by
City17
Replies: 0
Views: 318
Jassdoc
[functions] InitHashtable
Started by
City17
Replies: 0
Views: 369
Jassdoc
PortaMx-SEF 1.54
|
PortaMx © 2008-2015
,
PortaMx corp.
Search
Username
Password
Always stay logged in
Forgot your password?