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 / Waypiont and trriger question?

Author
Message
Jeko
15
Years of Service
User Offline
Joined: 29th Jun 2009
Location: On TGC Forum
Posted: 8th Nov 2009 20:03
How o can when enemy come to the end of the waypoint stops and wait

How i can when activate trriger its destroys and its cant activate anymore

How i can set background music but when you come near enemy it's change music when you kill him change back music

sorry for bad english

Superman is exemple of fool who wears underpants over pants, and then that fool plays so he can fly, save world move moon...
mgarand
16
Years of Service
User Offline
Joined: 22nd Dec 2007
Location: The Netherlands
Posted: 8th Nov 2009 20:17
for answer press here



Creativity is inventing, experimenting, growing, taking risks, breaking rules, making mistakes, and having fun.
Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 8th Nov 2009 22:56
Nbt
15
Years of Service
User Offline
Joined: 11th Oct 2009
Location: Behind you!!
Posted: 9th Nov 2009 17:56
Quote: "How o can when enemy come to the end of the waypoint stops and wait
you could script a waitstate (timer) in it's AI script to perform the idle animation for your set time. maybe edit the follow.fpi?

How i can when activate trriger its destroys and its cant activate anymore
make the trigger spawn an invisible entity and give that entity a script to carry out what you want. Set the spawn life to 1 and the trigger can no longer spawn another, so is dead.

How i can set background music but when you come near enemy it's change music when you kill him change back music
Hmmm.. for like a boss fight, you can always script the doors to the area to slam shut and play your music, then trigger the music to stop/revert back when the boss is dead etc.

sorry for bad english
Your english is better than my any other language ^_^
"


Sorry if my answers are silly, but I'm not really up on scripting to be honest. We need the PlySTAR!

I only use this for fun and have no interest in making commercial games ^_^
Bugsy
16
Years of Service
User Offline
Joined: 24th Nov 2008
Location: another place in time
Posted: 9th Nov 2009 18:54
How o can when enemy come to the end of the waypoint stops and wait

:waypointstate=5:waypointstop


How i can when activate trriger its destroys and its cant activate anymore

trigger zones automatically trigger things one time only.

How i can set background music but when you come near enemy it's change music when you kill him change back music

use a sound zone, and in the enemy's script, make a plrdistfurther=(whatever)sound command)(I dont remember it)

add me on skype- isaacpreston. WWC percentage complete: 22%
Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 9th Nov 2009 19:00
Quote: "for answer press here
mgarand, press here."


Both CLICK here.


mgarand
16
Years of Service
User Offline
Joined: 22nd Dec 2007
Location: The Netherlands
Posted: 9th Nov 2009 20:51
sorry nicky, but everyone keep asking without searching



Creativity is inventing, experimenting, growing, taking risks, breaking rules, making mistakes, and having fun.
Jeko
15
Years of Service
User Offline
Joined: 29th Jun 2009
Location: On TGC Forum
Posted: 10th Nov 2009 19:51
thanks a lot i just learning FPI Scripting and progress slowly because i learn programming in DarkBASIC and JustBASIC.

Superman is exemple of fool who wears underpants over pants, and then that fool plays so he can fly, save world move moon...

Login to post a reply

Server time is: 2024-11-25 05:36:24
Your offset time is: 2024-11-25 05:36:24