Hello, how I can set tr.pHit.vars on pevAttacker with if() func? can anybody help me?
if(@pevAttacker is @tr.pHit) return;
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Hello, how I can set tr.pHit.vars on pevAttacker with if() func? can anybody help me?
if(@pevAttacker is @tr.pHit) return;
Can you give a bit more context on this question?
Are you working on a script for an existing game? What game is it? Does the game have any manual for modders?
What is the type of tr.pHit.vars and pevAttacker?
Since your question appears to be more related to the Sven Co-op script API than the AngelScript language itself, you should probably post your question on the Sven Co-op forums as you're more likely to get an adequate answer there.
https://forums.svencoop.com/forumdisplay.php/227-AngelScript