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
1 registered members (TipmyPip), 18,619 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
#include "...." #314515
03/09/10 00:35
03/09/10 00:35
Joined: Feb 2010
Posts: 21
Tennessee
S
Scorcher21 Offline OP
Newbie
Scorcher21  Offline OP
Newbie
S

Joined: Feb 2010
Posts: 21
Tennessee
ok having problems getting a file to be included. seems like it should be straight forward.

Ok heres what Ive done in order.
Created a new level in WED and named its folder level
opened SED created a new script named main
in it is as follows:

#include <acknex.h>
#include <default.c>
#include "player.wdl"

function main()
{
level_load("level.wmp");
wait(1);
}

saved it and went back to WED and set it as the script in map properties.

Then went back to SED created a new script named player.wdl with its only contents being:

action player_move()
{
wait(1);
}

saved it to my level folder.

next went back to WED built it reloaded it. I then added a model and under behavior wanted to add my action player_move but its not there? What am i doing wrong? I can take those same three lines of code and put them at the top of my main code and it shows up fine.


hehe my first animation several years ago


[IMG]http://i6.photobucket.com/albums/y215/Scorcher21/sigs/bluesigPVT.gif[/IMG]
Re: #include "...." [Re: Scorcher21] #314516
03/09/10 00:50
03/09/10 00:50
Joined: Feb 2010
Posts: 21
Tennessee
S
Scorcher21 Offline OP
Newbie
Scorcher21  Offline OP
Newbie
S

Joined: Feb 2010
Posts: 21
Tennessee
Please disregard.... I found it. i saved my main as a .wdl instead of a .c whoops blush


hehe my first animation several years ago


[IMG]http://i6.photobucket.com/albums/y215/Scorcher21/sigs/bluesigPVT.gif[/IMG]

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