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]