#Again an error with 4.x

1 messages · Page 1 of 1 (latest)

opal pulsar
#

I tried to multiply damage to a log-distance weapon, any ideas on how to fix this?

shadow rover
#

your weapon don't have damage?

covert sundial
#

If it's long range weapon, then set it inside the bullet script

shadow rover
#

for long range weapon,you cannot change the bullet's damage directly, so I suggest that you can change bullet or attack rate for it,but you must choose from script under long range

covert sundial
#

I mean, "Inside" the Bullet asset

shadow rover
covert sundial
#

It's in the bullet asset

#

Bassic attributes > enable when intializing object > script > and you can set how much damage do you want

#

Or you can set it inside the damage component

shadow rover
#

I think he want make system for changing weapon damage, if as you say,how he can change weapon when playing game?

#

@covert sundial

covert sundial
#

Owh thats need to make a seperate bullets for each weapons

opal pulsar
#

Well they should add this

#

Like a way to modify buklet damage

#

It's impossible to change damage for long range weapong

#

Weapons*

#

It doesn't make sense

#

I got an idea

#

But it's with broadcast messages and I don't find the script

#

@shadow rover Do you know how to broadcast a message?

shadow rover
#

one script for send ,another one for receive broadcast

shadow rover
#

but both must use same broadcast, like send broadcast 'abc' and receive must broadcast 'abc'