Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
Struct Usage
Struct Usage
01-12-2008, 09:46 PM
#1
Silvenon
Hi everyone.
I've heard that the usage of the structs is
not
mainly transferring through timers/triggers, can someone give me an example where they come in handy, but not used for transferring?
More than one example are welcome.
01-12-2008, 10:15 PM
#2
Vexorian
Somewhere in your newgen / jasshelper installation there's a folder called demos, in which you can find 2 maps, try those for starters.
01-12-2008, 10:19 PM
#3
moyack
A good usage is to manage a database, which you can use to add and remove rows. I don't have the example right now, but it works pretty good.
01-12-2008, 10:36 PM
#4
xombie
Any kind of application where you want to associate variables with each other is an application for
structs
.
01-13-2008, 07:30 AM
#5
Silvenon
Thanks.