![]() |
RPG System
I'm trying to figure out a way to script an RPG system within an NPC server.
I figure that the various attributes such as hit points, magic points, strength, etc will all be maintained under flags (strings) within the client side of the server. strtofloat and triggeraction may be used as well for when a player gets hit by another and the calculations (playergettinghitHP = playergettinghitHP - playerattackingstrength) etc. I have no clue where to begin with this though. Could anybody point me in the right direction? Thanks. |
Client flags.
They work wonders. :P |
learn triggeraction and how to use triggeraction param efficently
|
hey, jagen, could you give a brief example of how to use to triggeraction parameter? please?
|
triggeraction 10,10,test,#a,;
if(actiontest){ setstring this.attacker,#p(0); } |
Quote:
wouldn't setstring this.attacker,#p(test); also work just the same? |
Quote:
i have said in theory because i have never tried, but all signs point to no |
Quote:
#p(test) is if you did something like test=1; |
if you want to read about a good rp system
go to my post about Pandoras RP System Overview its baisicly what you are doing now btw 1000th post |
Quote:
|
KICK ASS !!!!
1000th Post already *phew* been alotof typing XD Omi |
| All times are GMT +2. The time now is 07:50 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.