What are the acceptable variables for the GetMMLevels function? I am trying to get it to see my summoning points, and I can't figure out what variable the Colorsign is.
What are the acceptable variables for the GetMMLevels function? I am trying to get it to see my summoning points, and I can't figure out what variable the Colorsign is.
Simba Code:program new;
{$i srl/srl.simba}
var
s : string;
begin
setupsrl;
writeln(GetMMLevels('hp', s)); // writes out approx. HP integer value
end.
hope this helps get some idea of how to setup the getMMLevels function.
-Lj
Edit: Figured I'd throw in a couple more examples before I hit the hay for a coupel hrs.
Simba Code:program new;
{$i srl/srl.simba}
var
s : string; // the s is usually just a trash variable, doesn't help us too much unless we want to use a string representing the color of what our MM HP Lvl relevant to the HP % is.
storeHP : integer;
begin
setupsrl;
writeln(GetMMLevels('hp', s)); // writes out approx. HP integer value
storeHP := GetMMLevels('hp', s);
if (storeHP < 1000) then
begin
writeln('low on Hit Points!');
// Teleport away somehow or TerminateScript
end;
end.
Last edited by Le Jingle; 02-02-2013 at 04:59 AM.
Alright, Thanks![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)