Eclipse
January 05, 2009, 11:02:13 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Chat Help Rules Arcade Search Calendar Gallery Login Register  
 
 
 
Recent Topics +-
Big city... by The Roujo
Today at 11:02:07 PM

Necisto scripters y mappers para proyecto grande by Nospheratus
Today at 11:01:26 PM

Count to 1,000,000! by <insert username here>
Today at 10:58:47 PM

Necesito mappers y scripter para un proyecto de Zelda de alta calidad by Nospheratus
Today at 10:57:53 PM

Party system : is it possible? by The Roujo
Today at 10:57:39 PM

SnowCap by The Roujo
Today at 10:53:56 PM

Dreadlord Online v1.2 Beta - Need Moderators and Trustworthy Mappers! by The Roujo
Today at 10:50:21 PM

Server Status by <insert username here>
Today at 10:49:04 PM

I need a little help by <insert username here>
Today at 10:47:47 PM

My Custom GUI by <insert username here>
Today at 10:45:29 PM

Members Online +-
12 Guests, 16 Users
The Roujo,
<insert username here>,
Kreator,
Marsh,
‪‫‬‭‮‪‫Kusy,
Nospheratus,
Baron,
dg1423,
Karl,
HawkStorm95,
FS:CG Admin[Shadowwulf],
kira423,
MrMiguu™,
Thelettersix,
The Troy,
Xeross
Pages: [1]
  Print  
Author Topic: Healing Area  (Read 1412 times)
0 Members and 1 Guest are viewing this topic.
Reguba
VB/C++(Learning) Programmer
Veteran
Active Member
*
Offline Offline

Posts: 383



View Profile WWW Email
« on: January 04, 2007, 09:28:52 PM »



This is my first script I have ever wrote...But it works nicely!

This script is a tile you place and when you walk on it if your health is less then 1/4 max health it will multiply what you have by 3 but if your health is still to high you just get a message saying that you can not be healed.

This part goes in sub scripted tile:

Code: [Select]
Case (case number goes here)
     Call LightHeal(Index)
Exit Sub


Btw: Tell me what you think of my first script!

Paste this at the bottom of your main txt.

Code: [Select]
Sub LightHeal(Index)
     Dim H
     Dim M
     H = GetPlayerHp(Index)
     M = GetPlayerMaxHP(Index)

     If H < M/4 Then
             Call PlayerMsg(Index, "You Feel the power of light heal you.", 1)
             Call SetPlayerHp(Index, H * 3)
             Exit Sub
     End If
     If H > M/4 THEN
             Call PlayerMsg(Index, "You are plenty healthy the light does not need to heal you", 1)
             Exit Sub
     End If
End Sub
Danz
NUFC!
Active Member
***
Offline Offline

Posts: 307


ah my favourite shirt


View Profile Email
« Reply #1 on: January 05, 2007, 02:07:43 AM »

Not bad, my first script was something like this lol
SwiftDeathSK
Owner of SK Interactive
Advanced Member
****
Offline Offline

Posts: 591


I have returned... WITH COOKIES!


View Profile WWW Email
« Reply #2 on: January 05, 2007, 07:05:59 AM »

nice work :)

Not bad, my first script was something like this lol

lol same here :P and look at how my scripting skills have grown from this type of script. Eric, dont give up on scripting, if you need any help, just let me know ;)
Reguba
VB/C++(Learning) Programmer
Veteran
Active Member
*
Offline Offline

Posts: 383



View Profile WWW Email
« Reply #3 on: January 05, 2007, 09:01:53 AM »

Thanks! And will do Zananex!
unnown
Teh Uberleet
*****
Offline Offline

Posts: 3,659


-Admin-


View Profile Email
« Reply #4 on: January 05, 2007, 10:32:08 AM »

call sendhp(index) might help it udpate but ti's not necesary
unixfr3ak
Member
**
Offline Offline

Posts: 74


Green Dixy The Source is Your End


View Profile Email
« Reply #5 on: October 31, 2007, 11:14:42 AM »

nice script works great on EE  ty
‪‫‬‭‮‪‫‬‭The Admiral
-_-'
Moderator
Advanced Eclipser
*
Offline Offline

Posts: 1,186


!deifieD


View Profile WWW Email
« Reply #6 on: October 31, 2007, 03:38:49 PM »

This is a useful script....

Even know this necroposter brought up a new point that it works on ee....

unixfr3ak
Member
**
Offline Offline

Posts: 74


Green Dixy The Source is Your End


View Profile Email
« Reply #7 on: November 01, 2007, 07:04:10 AM »

This is a useful script....

Even know this necroposter brought up a new point that it works on ee....

necroposter ????????
‪‫‬‭‮‪‫‬‭The Admiral
-_-'
Moderator
Advanced Eclipser
*
Offline Offline

Posts: 1,186


!deifieD


View Profile WWW Email
« Reply #8 on: November 01, 2007, 01:40:53 PM »

Quote from: Godlord
Necroposting is posting in a topic which is older then 2 months.
and
Nercoposting comes partly from the greek.

Necro is Greek(mainly Old-Greek) for dead and posting is English which means sending a message or a document.

So necroposting means: "sending a message to a dead topic".

Wow that is hard to find out. Then you could beter ask what is "multichloroposting"? :P
unnown
Teh Uberleet
*****
Offline Offline

Posts: 3,659


-Admin-


View Profile Email
« Reply #9 on: November 01, 2007, 01:59:53 PM »

what is multichloroposting?
Pages: [1]
  Print  
 
 

Powered by EzPortal
Powered by MySQL Powered by PHP Powered by SMF 2.0 Beta 4 | SMF © 2006–2008, Simple Machines LLC | Sitemap Valid XHTML 1.0! Valid CSS!
Page created in 0.342 seconds with 33 queries.