🎉 Celebrating 25 Years of GameDev.net! 🎉

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!

Set pHit in pevAttacker

Started by
3 comments, last by WitchLord 6 years, 4 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;

Advertisement

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

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