Hello, how I can set tr.pHit.vars on pevAttacker with if() func? can anybody help me?
if(@pevAttacker is @tr.pHit) return;
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?
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
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
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game