Naruto Ninja RPG

The Naruto Ninja RPG is a game based on the naruto series in a heads up format, one of the best Naruto Games you will play :D
HomeHome  CalendarCalendar  FAQFAQ  SearchSearch  RegisterRegister  Log inLog in  
Post new topic   Reply to topic
 

Bloodline activation

View previous topic View next topic Go down 
AuthorMessage
tinnie
Admin/Kapakage/MMO Creator & Admin/Hoster/Flash
Admin/Kapakage/MMO Creator & Admin/Hoster/Flash


Gender:Male
Joined : 19 Nov 2007
Posts : 1321
Village : Kyoto(Outlaw)
Married To: : Unknown
Bloodline : Kanpa Kurisutaru

Character Page
Health:
700/700  (700/700)
Chakra:
70/70  (70/70)
Experience:
407/550  (407/550)

PostSubject: 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*Very Happy:
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 Very Happy. 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 Very Happy
'There's nothing new under the sun'
Back to top Go down
Hyu-zu Eki
Root Admin
Root Admin


Gender:MaleCapricornSnake
Age : 18
Joined : 17 Nov 2007
Posts : 5160
Village : Akatsuki
Married To: : No One
Bloodline : KaiRai

Character Page
Health:
5000/5000  (5000/5000)
Chakra:
100/100  (100/100)
Experience:
300/7000  (300/7000)

PostSubject: 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~





Back to top Go down
Guest
Guest




PostSubject: Re: Bloodline activation   Tue Mar 18, 2008 2:08 pm

u forgot time warp bloodline abillity
Back to top Go down
tinnie
Admin/Kapakage/MMO Creator & Admin/Hoster/Flash
Admin/Kapakage/MMO Creator & Admin/Hoster/Flash


Gender:Male
Joined : 19 Nov 2007
Posts : 1321
Village : Kyoto(Outlaw)
Married To: : Unknown
Bloodline : Kanpa Kurisutaru

Character Page
Health:
700/700  (700/700)
Chakra:
70/70  (70/70)
Experience:
407/550  (407/550)

PostSubject: 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 Very Happy
'There's nothing new under the sun'
Back to top Go down

Bloodline activation

View previous topic View next topic Back to top 
Page 1 of 1

Permissions of this forum:You cannot reply to topics in this forum
Naruto Ninja RPG :: Naruto Ninja MMORPG :: Discuss the Game-
Post new topic   Reply to topic