![]() |
Heart Moniter
I want to script a dynamic EKG (with showpoly) to show the status of a players help, but the thing is I don't know how to begin, is there some sort of algorithim I have to follow?
http://forums.graalonline.com/forums...ad.php?t=77980 ^ If you don't know what an EKG is |
Well if you just made it spike randomly (controlled random- every 2 or 3 seconds, etc) and the same for the amount of spike, you could make an array of points to plot. Doesn't seem to hard, but of course it probably would be.
|
On the server I used to own someone who worked for me scripted just what you're talking about.
Unfortunately I have no idea how to do that. |
Lol, that animation in the other post reminded me of a flash EKG machine I made.
http://www.olwest.net/Tig/md5live.html I imagine you could just define some points in an array if you need to and then use a for loop to display the polygons from point to point as defined by the array; cbkbud is on the right track. You could probably just as easily figure out an algorithm for it, but right now I just don't feel like figuring it out, sorry. |
basicly you could do something like:
PHP Code:
Could be made easier tho, but, an EKG with player's health.. Doesn't sound.. 'logical' with graal as combo :p |
| All times are GMT +2. The time now is 02:13 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.