2 registered members (AndrewAMD, TipmyPip),
12,420
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: 2 questions.
[Re: Xyro]
#382501
09/08/11 19:44
09/08/11 19:44
|
Joined: Sep 2003
Posts: 6,861 Kiel (Germany)
Superku
Senior Expert
|
Senior Expert
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
|
try to access the mainCharacter it says : Script crash in main SYS but other then that it runs fine Show the code where you access that pointer.
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual Check out my new game: Pogostuck: Rage With Your Friends
|
|
|
Re: 2 questions.
[Re: Aku_Aku]
#382507
09/08/11 20:43
09/08/11 20:43
|
Joined: Oct 2009
Posts: 149 Germany
muffel
Member
|
Member
Joined: Oct 2009
Posts: 149
Germany
|
I believe the problem is here Functions ending with ..._startup are executed right after the main() function, and LC before the engine and video device is initialized. This way, every script can have its own startup function which initializes its variables or objects. Example:
Found under Script Programming -> Functions So name the action diffrent muffel
Last edited by muffel; 09/08/11 20:45.
|
|
|
Re: 2 questions.
[Re: muffel]
#382515
09/08/11 21:53
09/08/11 21:53
|
Joined: Sep 2011
Posts: 11
Xyro
OP
Newbie
|
OP
Newbie
Joined: Sep 2011
Posts: 11
|
Well sorry, I didn't think that it was necessary to provide the other code since I thought it had something to do with me just doing it all wrong but here is the full document : http://pastebin.com/CyNGkFYDI also changed startup to characterStartup and it still does the same
Last edited by Xyro; 09/08/11 21:54.
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|