SRL Archive - OSR Help

Need help fist script


Smetig

2012-01-28 17:06:07

Hi!

Im working on some basic functions in a script that i am making, I am planning on making every function as a script on its own then build them together in one script once that is done. so the problem i am having is this:


"Unable to find file 'srl/srl.scar' used form ' '" That right there is my problem..

RISK

2012-01-28 17:16:17

Change {$i srl/srl.scar} to {$i srl/srl.simba}.

Nebula

2012-01-28 17:44:33

You didn't free the spear DTM.

FreeDTM(Spear);

Smetig

2012-01-28 18:29:16

Yeah noticed :)

Smetig

2012-01-28 19:00:54

What would i have to write if i would like it to do something at X% Health?

Nebula

2012-01-28 19:17:04

Begin
If (HPPercent <>= Number) then
begin
Shit here;
end;
end;