Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → GetActorWeapon
GetActorWeapon
2001-07-21, 4:33 AM #1
Hi, just a quick question for you =)

Will GetActorWeapon(player) return the signature of exactly the weapon which is being held by player? So that I can then modify this 1 weapon I mean.
Oh, and if I change the weapon's flags to 0x01 (no damage to shooter) using the SetWeaponFlags, would it work or do I have to create a new template for it?

Thanks in advance again,

-Raze
--
You are all just jealous because you can't hear the small voices!!
2001-07-21, 10:01 PM #2
Ummmm , i don't think GetActorWepon will work, although GetCurWeapon will.
2001-07-22, 6:41 AM #3
I thought GetCurWeapon returned the weapon int, like in rail=7 ?

-Raze
--
You are all just jealous because you can't hear the small voices!!
2001-07-22, 12:26 PM #4
Isn't that what you wanted ? , explain futher.
2001-07-22, 12:35 PM #5
I wanted to manipulate a specific weapon in the game, ie. change flags, destroy it, change 3do etc, and I needed the signature of the weapon itself..
However, I think I can forget the whole thing now because it wouldn't have worked anyways lol... Need to find another solution =)

Thanks for your help,

-Raze
--
You are all just jealous because you can't hear the small voices!!
2001-07-23, 4:02 PM #6
are you talking about the actual projectile that is fired?
I'm just an old man with a skooma problem.
2001-07-23, 4:12 PM #7
I was kinda confused when I posted it, I was talking about the weapon, not the projectile, but it's all wrong and it wouldn't have worked in either case...

-Raze
--
You are all just jealous because you can't hear the small voices!!
2001-07-24, 1:43 PM #8
Try:

WeaponToMod = GetCurWeapon(Player);

Then change the flags how you want them. GetActorWeapon is the same as GetCurWeapon (I think) except GetActorWeapon is for AI, as CurWeapon is for the player.
Bassoon, n. A brazen instrument into which a fool blows out his brains.

↑ Up to the top!