How do the STR powers work

What are STR powers?

EDIT: I looked into it. They can only be applied to players, so hooks like PlayerThink and others that run for each player would be what recommend. (Powers could be applied outside of hooks like that if you've got a "for" statement for each player in there.)
I believe you would set the strength powers like in this example: player.powers[pw_strong] = STR_WALL
I can't remember if you should input the decimal value for them instead, but it's possible that's the case. Refer to the table at the bottom of this page to view the decimal values for the powers.
 
Last edited:
What are STR powers?

EDIT: I looked into it. They can only be applied to players, so hooks like PlayerThink and others that run for each player would be what I recommend since they run for each player. (Powers could be applied outside of hooks like that if you've got a "for" statement for each player in there.)
I believe you would set the strength powers like in this example: player.powers[pw_strong] = STR_WALL
I can't remember if you should input the decimal value for them instead, but it's possible that's the case. Refer to the table at the bottom of this page to view the decimal values for the powers.
thank you!
 

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top