|
Including .wdl templates not working in A7
#261443
04/17/09 15:31
04/17/09 15:31
|
Joined: Oct 2008
Posts: 58
Marc_Gagne
OP
Junior Member
|
OP
Junior Member
Joined: Oct 2008
Posts: 58
|
I'm making a simple game, where it's basically just someone walking around. I wanted to include the template script "Start up screen(s)", but when I test it, it prints out an error message. I tried adding an "#" before the include before the include in the script but that time it prints out an other error message. What am I doing wrong? Can anybody help me?
"Chaos. War. Death. This is what I see." Raistlin Majere
|
|
|
Re: Including .wdl templates not working in A7
[Re: pararealist]
#261888
04/20/09 21:38
04/20/09 21:38
|
Joined: Oct 2008
Posts: 58
Marc_Gagne
OP
Junior Member
|
OP
Junior Member
Joined: Oct 2008
Posts: 58
|
Well I did what they said, but when I add the template and afterwards, when I right-clicked the model I wanted to attach the action to, in the Actions my template wasn't listed. What's the problem? I've also noticed that in SED, the includes for the templates don't have a # before them, whereas the acknex.h and default.c did. Is this the problem?
"Chaos. War. Death. This is what I see." Raistlin Majere
|
|
|
Re: Including .wdl templates not working in A7
[Re: Marc_Gagne]
#261889
04/20/09 21:42
04/20/09 21:42
|
Joined: Oct 2008
Posts: 58
Marc_Gagne
OP
Junior Member
|
OP
Junior Member
Joined: Oct 2008
Posts: 58
|
I just tried putting the # before the includes but this time, when I run the game is says there is a code error in line 1 of display00.wdl (by the way, the template I used was 3rd person camera, which required three other scripts; I attached the behavior CameraSelect_Next to a biped model).
"Chaos. War. Death. This is what I see." Raistlin Majere
|
|
|
Re: Including .wdl templates not working in A7
[Re: Marc_Gagne]
#261892
04/20/09 22:01
04/20/09 22:01
|
Joined: Apr 2009
Posts: 298 Southern Oceans
KiwiBoy
Member
|
Member
Joined: Apr 2009
Posts: 298
Southern Oceans
|
Which version are you using? I find that when I use old .wdl code, I need to ensure that each save is actually saved as a .wdl file and not a .c file. Else { use A6 instead, no errors then
Use the 'manual' Luke, the manual is your friend. 'Self reminder' My WebPage
|
|
|
Re: Including .wdl templates not working in A7
[Re: pararealist]
#261896
04/20/09 22:08
04/20/09 22:08
|
Joined: Oct 2008
Posts: 58
Marc_Gagne
OP
Junior Member
|
OP
Junior Member
Joined: Oct 2008
Posts: 58
|
I'll try, but I don't see why they will work, because I don't use any of those scripts (for now). Aren't there more new templates?
"Chaos. War. Death. This is what I see." Raistlin Majere
|
|
|
|