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 / Active other entity {need to help}

Author
Message
3Dmajid
16
Years of Service
User Offline
Joined: 16th Dec 2007
Location: IRAN / TEHRAN
Posted: 13th Jan 2008 17:28
I put a security camera on the wall and set a zone in order to when player is in the zone will play a alarm sound. {its the view angle of security camera}. Now I need to learn how to script this action and i think that its possible in FPI language :

-I want to put a Idle character , When player is in the zone and play the Alarm sound , character shoot to player.
Note : If player isn't in security camera view angle , the character don't shoot it.

How I can to active a entity AL by a zone ?

The life is standby ... So decide for you'r target and then you'll see that you are arrived and get it.
Keo C
17
Years of Service
User Offline
Joined: 3rd Aug 2007
Location: Somewhere between here and there.
Posted: 13th Jan 2008 17:46
Check Nickydude's guide in FPSC Chat.

The best things in life are edible.
3Dmajid
16
Years of Service
User Offline
Joined: 16th Dec 2007
Location: IRAN / TEHRAN
Posted: 13th Jan 2008 17:55
I search it but didn't find !!!
Can u put link of it ?

The life is standby ... So decide for you'r target and then you'll see that you are arrived and get it.
Keo C
17
Years of Service
User Offline
Joined: 3rd Aug 2007
Location: Somewhere between here and there.
Posted: 13th Jan 2008 18:02
http://forum.thegamecreators.com/?m=forum_view&t=93081&b=21
There should be a script for what you need in there.

The best things in life are edible.
sps999
17
Years of Service
User Offline
Joined: 23rd Oct 2007
Location: On my Computer
Posted: 13th Jan 2008 18:03
Don't search Nickydudes guide, I believe you're supposed to search PDF.

Keo C
17
Years of Service
User Offline
Joined: 3rd Aug 2007
Location: Somewhere between here and there.
Posted: 13th Jan 2008 18:56
I just said look over in FPSC Chat.

The best things in life are edible.
3Dmajid
16
Years of Service
User Offline
Joined: 16th Dec 2007
Location: IRAN / TEHRAN
Posted: 13th Jan 2008 19:55


I need to some body that write this code for me (please) :
- When player go to trigger zone , enemy shoot to player.
Note : Enemy is Idle in Main AL.

The life is standby ... So decide for you'r target and then you'll see that you are arrived and get it.
0 Geoff 0
17
Years of Service
User Offline
Joined: 3rd Aug 2007
Location:
Posted: 13th Jan 2008 22:03
1.Put the stock script plrwithinzoneactivateifused.fpi in the trigger zone and in the trigger zone's ifused box put in guard1.

2.Give the guard the name guard1 and put this script in for his main AI



Now put the shoot script you want into the guards shoot box.
That should work let me know if it dose.
3Dmajid
16
Years of Service
User Offline
Joined: 16th Dec 2007
Location: IRAN / TEHRAN
Posted: 14th Jan 2008 08:23
0 Geoff 0
Oh... Thanks my friend ... Thanks a lot.It worked very nice ... Thanks a world.
Thanks.

The life is standby ... So decide for you'r target and then you'll see that you are arrived and get it.
0 Geoff 0
17
Years of Service
User Offline
Joined: 3rd Aug 2007
Location:
Posted: 14th Jan 2008 18:38
Your Welcome

Login to post a reply

Server time is: 2024-11-27 21:49:33
Your offset time is: 2024-11-27 21:49:33