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 / make an item hurt the enemy not not the player

Author
Message
vmp
20
Years of Service
User Offline
Joined: 17th Apr 2003
Location:
Posted: 25th Sep 2005 11:12
any way that you can make an object be not harmful to the player so they can pick an item up and place it somewhere so that if an enemy touches the item they get damaged?
vmp
Matinuker
20
Years of Service
User Offline
Joined: 25th Mar 2004
Location:
Posted: 25th Sep 2005 23:28 Edited at: 25th Sep 2005 23:29
I think it's possible but it would need alot of work

Edit: I reckon that you could use a trigger zone somehow
Mad Scientist
18
Years of Service
User Offline
Joined: 30th May 2005
Location: Fort Lauderdale, FL
Posted: 26th Sep 2005 22:02
As far as I know this is not possible.

I hope I'm wrong.

Relax or I'll hit you with the whip again.
Merranvo
18
Years of Service
User Offline
Joined: 24th May 2005
Location: That ^ is a Orange
Posted: 26th Sep 2005 22:45
mabey...

:state=0:state=1
:state=1,anywithin=60,plrdistfurther=60:state=5
:state=5:rotateY=5
:state=5,raycast=0 60:triggerforce=100,state=1

something like that... don't know if it will hurt the enemies, but the general idea is there

Merranvo, taking over the net, one forum at a time.

"ye oft de adopte early shalt move mountains, and be gods among men"
vmp
20
Years of Service
User Offline
Joined: 17th Apr 2003
Location:
Posted: 27th Sep 2005 10:46
tried this Merranvo but it hurts the player as well as the bad guys

any other thoughts on how this may be possible

>tate=0:state=1
>:state=1,anywithin=60,plrdistfurther=60:state=5
>:state=5:rotateY=5
>:state=5,raycast=0 60:triggerforce=100,state=1
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 27th Sep 2005 15:55 Edited at: 27th Sep 2005 15:55
Would changing line 2 to this make a difference?

:state=1,plrdistfurther=60,anywithin=60:state=5

Merranvo
18
Years of Service
User Offline
Joined: 24th May 2005
Location: That ^ is a Orange
Posted: 29th Sep 2005 00:26
you know... I think that this is a good ally script too... but like attack dogs... work out the bugs...

first off, you shouldn't be close to it... be far away, I think it will lunge at the enemies. Also make it heavy...

:state=0:state=1
:state=1,anywithin=60,plrdistfurther=70:state=5
:state=5:moveup=30,state=6
:state=6:rotateY=5
:state=6,raycast=0 60:triggerforce=60,state=7
:state=7:moveup=-30,state=1

should make the problem less and should look cooler

Merranvo, taking over the net, one forum at a time.

"ye oft de adopte early shalt move mountains, and be gods among men"

Login to post a reply

Server time is: 2024-04-16 17:06:08
Your offset time is: 2024-04-16 17:06:08