Advertisement

Set pHit in pevAttacker

Started by February 22, 2018 06:15 PM
3 comments, last by WitchLord 6 years, 9 months ago

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

Advertisement

That's game is Sven Co-op and AngelScript

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

This topic is closed to new replies.

Advertisement