Canceled Knights & Dragons: The Endless Quest - improved version

Project is halted prior to completion and will not receive further updates.
utunnels said:
Because there's no score. You need to get score from player property first.

mmm... i supposed it must have been something like this... but how can i do that? i've no idea  :-\
 
You can add this to gain score for this player:

Code:
    void self = getlocalvar("self");
    int PIndex = getentityproperty(self,"playerindex"); // Get player's index
    int score = getplayerproperty(PIndex,"score");

  You already acquired self in your code though. I added that here just to reiterate.
 
Bloodbane said:
You can add this to gain score for this player:

Code:
    void self = getlocalvar("self");
    int PIndex = getentityproperty(self,"playerindex"); // Get player's index
    int score = getplayerproperty(PIndex,"score");

  You already acquired self in your code though. I added that here just to reiterate.

yes, that's what i needed!

thank you guys, now it works as intended!
 
well guys,  i think the work is finally over. i will beta-test it a little more and i will release the final version, probably in the weekend (real life permitting).  :)

thank you all for the support, expecially Utunnels and Bloodbane, for their neverending patience with a script-noob like me. thank you guys, you're the best.
 
YEEEEEY!  :D :D :D

Hope it plays well on Android!
I've been having a lot of fun with the previous Knights&Dragons and MarvelFirstAlliance! 8)
 
Back
Top Bottom