tinnie Admin/Kapakage/MMO Creator & Admin/Hoster/Flash


 Joined : 19 Nov 2007 Posts : 1321 Village : Kyoto(Outlaw) Married To: : Unknown Bloodline : Kanpa Kurisutaru Character Page Health:
   (700/700) Chakra:
   (70/70) Experience:
   (407/550)
 | Subject: Bloodline activation Tue Mar 18, 2008 9:51 am | |
| im going to add a bloodline activation which will work something like this:
Example Doesn't work yet* : If LCase$(Mid$(TextSay, 1, 4)) = "/Sharingan" Then If GetPlayerClass(index) = 1 Then If GetPlayerLevel(Index) => 15 Then Call SetPlayerSprite(index, 2) Call SetPlayerMagi(index, getplayermag(index) + 30) Call SetPlayerStr(index, GetPlayerStr(index) + 10) Call SetPlayerDef(index, GetPlayerDef(index) + 6) Call SetPlayerSpeed(index, GetPlayerSpeed(index) + 11) Call PlaySound(Index, "Sharinganactive.wav") Call SendPlayerData(index) Call PlayerMsg(index, "Sharingan Activated", 4) End If End If End If Exit Sub
for all non-programmers this is what it does:
when you type in /Sharingan The game checks if your level 15 or higher and if you are then your magic(chakra), strength, defence and speed get increased. then the sound will play and then it will come up on your screen Sharingan Activated . Please dont try and put this into your code cos it won't work since you wont have the other variables _________________ Tinnie - MMORPG Game Admin/Starter & Current Hoster of MMO Game  'There's nothing new under the sun' |
|
Hyu-zu Eki Root Admin


   Age : 18 Joined : 17 Nov 2007 Posts : 5160 Village : Akatsuki Married To: : No One Bloodline : KaiRai Character Page Health:
   (5000/5000) Chakra:
   (100/100) Experience:
   (300/7000)
 | Subject: Re: Bloodline activation Tue Mar 18, 2008 2:05 pm | |
| nice, i wouldve tried to do it wiht an NPC _________________ ~Naruto Ninja RPG Main Admin~




 |
|
Guest Guest
 | Subject: Re: Bloodline activation Tue Mar 18, 2008 2:08 pm | |
| | u forgot time warp bloodline abillity |
|
tinnie Admin/Kapakage/MMO Creator & Admin/Hoster/Flash


 Joined : 19 Nov 2007 Posts : 1321 Village : Kyoto(Outlaw) Married To: : Unknown Bloodline : Kanpa Kurisutaru Character Page Health:
   (700/700) Chakra:
   (70/70) Experience:
   (407/550)
 | Subject: Re: Bloodline activation Wed Mar 19, 2008 5:49 am | |
| | Anti wrote: | | u forgot time warp bloodline abillity |
i only made this code yesterday and it was an example so i wouldnt have had enough time to make the warp bloodline ability yet _________________ Tinnie - MMORPG Game Admin/Starter & Current Hoster of MMO Game  'There's nothing new under the sun' |
|