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 / Trigger an enemy to follow a waypoint

Author
Message
General powell11
17
Years of Service
User Offline
Joined: 7th Jul 2007
Location:
Posted: 11th Jul 2008 06:40
im making a game, and it has one of those scenes where there are people who are on your side and there talking, then you walk forword and it triggers a waypoint and the person enemy (the civilian) follows it, is it possible, kinda like halflife

Taking song requests, see my post!!!
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 11th Jul 2008 06:58
you mean something like:



It would make the entity start following waypoints when the player pressed "W".


The one and only,


Whosoever says, "Don't sweat the small stuff," is obviously not a programmer.
General powell11
17
Years of Service
User Offline
Joined: 7th Jul 2007
Location:
Posted: 11th Jul 2008 07:12
is that after you enter the trigger zone?

Taking song requests, see my post!!!
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 11th Jul 2008 20:55
Just change SCANCODEKEYPRESSED to ACTIVATED=1, and make the triggerzone activate it.........

Hybrid
17
Years of Service
User Offline
Joined: 21st Nov 2007
Location: In the p-block, group 7.
Posted: 12th Jul 2008 17:59
No, he wants it so that when someone is in proximity, they start following a waypoint.



Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 13th Jul 2008 00:27
@Hybrid:

He said -
Quote: "hen you walk forword and it triggers a waypoint and the person enemy (the civilian) follows it"



That's why I went with "scancodekeypressed=17".


The one and only,


Whosoever says, "Don't sweat the small stuff," is obviously not a programmer.
Hybrid
17
Years of Service
User Offline
Joined: 21st Nov 2007
Location: In the p-block, group 7.
Posted: 13th Jul 2008 01:54
Yes, but I think you take it too literaly. I think he means, walk forward into the conversation, like in many scenes in half life.

Login to post a reply

Server time is: 2024-11-24 10:31:18
Your offset time is: 2024-11-24 10:31:18