Originally Posted By: Kevinper
That's what I'm looking for is the basics. But how do I assign my entity to use the script? And do I put in in the Lite-c script or the wdl file?


As has been mentioned, a tutorial would do you good, but for my little example there, there are two ways:

1. Place the entity in WED, go to the Behavior panel, click on the New button (the open folder icon under the word "action") and if you don't see the action on the list, write the action down (it IS case sensitive)

2. Create the entity via script with ent_create("yourmodel.mdl",vector,moveMe);


Also, my example is Lite-C, so you'd save it in a .c file, but if you wanted C-Script, just remove the parenthesis at the end of the aciton name.


Last edited by heinekenbottle; 11/22/08 05:17.

I was once Anonymous_Alcoholic.

Code Breakpoint;