Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by mistery. 12/05/26 12:48
contractUpdate() is filtering if >2 rows
by mistery. 12/04/26 19:03
Removing outliers from files
by AndrewAMD. 12/02/26 15:26
SGT_FW
by Aku_Aku. 11/30/26 08:19
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Dbat), 3,045 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
[ANET] Health stat panel #301932
12/15/09 13:28
12/15/09 13:28
Joined: Aug 2008
Posts: 37
Hungary
K
Kronomanta Offline OP
Newbie
Kronomanta  Offline OP
Newbie
K

Joined: Aug 2008
Posts: 37
Hungary
Hi there!

I use the ANET. I'd like to show the player's skills on a HUD.
But I have not managed it so far :S

How can I get the values of them?


EDIT:
I use DEMO version, and in that enet_get_playervar is not allowed. Is there any other way to get my player's skills to show them on a panel? :S

Last edited by Kronomanta; 12/15/09 15:27.
Re: [ANET] Health stat panel [Re: Kronomanta] #301951
12/15/09 15:59
12/15/09 15:59
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline
Serious User
Dark_samurai  Offline
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
You can access a skill as you do it in singleplayer:

Code:
player.skill[x]



But if you want that the skill has the same value on all pcs, you have to use enet_send_skill() if you change the value of the skill (=> send the new value to all other participants).
Please note that the entity has to be a global entity (created with enet_ent_create()) otherwise enet_send_skill() won't work.

Read the ANet manual entries enet_send_skill() and enet_ent_create() for more details.

Best regards,
Peter Soxberger


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: [ANET] Health stat panel [Re: Dark_samurai] #302486
12/19/09 20:54
12/19/09 20:54
Joined: Aug 2008
Posts: 37
Hungary
K
Kronomanta Offline OP
Newbie
Kronomanta  Offline OP
Newbie
K

Joined: Aug 2008
Posts: 37
Hungary
Thanks, it works grin

I don't know how I could forget it grin
I tried to used names for skills, but without them it works.


Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1