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 / how to block the Enemies walk through the wall to the player!!

Author
Message
Decneo
14
Years of Service
User Offline
Joined: 24th Dec 2009
Location:
Posted: 18th Jun 2010 15:42
when i'd walked pass the room there're enemies inside the room and the enemies walk to the player and it made me see the enimies a little near the wall, so how can i fix this problem?

thank you



Models and Model packs for your game at my site
Oneomany
14
Years of Service
User Offline
Joined: 3rd Dec 2009
Location: Sometime in the universe
Posted: 23rd Jun 2010 22:58
You could in the enemies script make the enemy react to being close to the object using something like:
:raycast=0 40 (if there's anything from 0 to 40 in front)
:rotatey=90 (rotate 90 degrees)
,movefore=20 ( move foreward by 20)

Modeling, texturing, you name it!

Login to post a reply

Server time is: 2024-11-24 21:50:53
Your offset time is: 2024-11-24 21:50:53