View Single Post
  #3  
Old 10-19-2010, 08:05 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by Cubical View Post
Also I was wondering what would be the best way to call it if it were in a class?
Forgot to answer this question. I do it like this:

PHP Code:
object.("skill_" @ identifier @ "::onUseSkill")() 
Assume identifier equals melee and that the class name is skill_melee.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote