Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (NewbieZorro, Grant, TipmyPip, AndrewAMD), 12,885 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
starter function? #141825
07/18/07 06:38
07/18/07 06:38
Joined: Oct 2003
Posts: 827
22�21'24"N 114�07'30...
Frederick_Lim Offline OP
User
Frederick_Lim  Offline OP
User

Joined: Oct 2003
Posts: 827
22�21'24"N 114�07'30...
I read some tutorial and aum there is starter function. What is starter function? I can't find it in manual.

starter typewriter()
{
...
}

Re: starter function? [Re: Frederick_Lim] #141826
07/18/07 06:42
07/18/07 06:42
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
it is simply a function that is automatically run when your project begins. this means it doesn't have to be called by main() or any other functions/actions.

julz


Formerly known as JulzMighty.
I made KarBOOM!
Re: starter function? [Re: JibbSmart] #141827
07/18/07 09:55
07/18/07 09:55
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
Starter is old, now it is:
function typewriter_startup()
{
...
}

You can find it in the manual under "functions".

Re: starter function? [Re: Slin] #141828
07/20/07 12:10
07/20/07 12:10
Joined: Jul 2007
Posts: 19
Brazil
J
Jack_Dracon Offline
Newbie
Jack_Dracon  Offline
Newbie
J

Joined: Jul 2007
Posts: 19
Brazil
what is your version of the GameStudio?
In the version A6 you create one startup very simple:
starter "name_of_starup()"...
look you can see that startup how function ok?
but i don't how the A7 works, so i can't help you in that version...sorry
good luck^^

Re: starter function? [Re: Jack_Dracon] #141829
07/20/07 12:24
07/20/07 12:24
Joined: Oct 2003
Posts: 827
22�21'24"N 114�07'30...
Frederick_Lim Offline OP
User
Frederick_Lim  Offline OP
User

Joined: Oct 2003
Posts: 827
22�21'24"N 114�07'30...
I figure out that already, and post a thread in "Blame the Manual" section.

If you search starter in A7 manual you can't find anything about it.

I don't have much experience in scripting, when I study the examples in AUM, I found the starter function but can't search it in A7 Manual. So I download the A6.22 manual to know what is the purpose of starter. Then read A7 manual again and found _startup() is equivalent to that.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1