Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Enemy attacks player when it's near him?

Author
Message
Deadly Massacre
17
Years of Service
User Offline
Joined: 1st Jun 2007
Location: Spain
Posted: 8th Jun 2007 16:59
I had bought the 3DS MAX for make my own 3D models and import them to the FPS Creator. Last week I created an enemy with a sword, but I have a problem: the enemy must attack when player is near it, but I don't know how to make it with scripts. Can anybody help my?
pigs can fly
18
Years of Service
User Offline
Joined: 20th Aug 2006
Location: Luxembourg
Posted: 8th Jun 2007 18:10
Is your enemy animated?

You'll have to make an animation template in the FPE file and give all the animations a number (look at character FPE files at the bottom)

Then you can use the command animate=[number your animation is specified in]

I don't know more. You should ask a professional modeller like Butters.


For all my free FPSC entities!
Deadly Massacre
17
Years of Service
User Offline
Joined: 1st Jun 2007
Location: Spain
Posted: 8th Jun 2007 21:18
Well, I have the animation and the fpe but if you don't know it doesn't matter, thanks.
Disturbing 13
19
Years of Service
User Offline
Joined: 12th Apr 2005
Location: Murder Capital of the World
Posted: 9th Jun 2007 10:26
search for the zombie scripts and apply it and the frames of attack animation to your model. You can alter the speed it walks as well.


Deadly Massacre
17
Years of Service
User Offline
Joined: 1st Jun 2007
Location: Spain
Posted: 9th Jun 2007 11:39
Eh, good idea! Thanks!

Login to post a reply

Server time is: 2024-11-23 17:51:59
Your offset time is: 2024-11-23 17:51:59