Tuesday, 2018-08-14, 3:41 PM Welcome Pengunjung


Indonesian Modding

Main | Sign Up | Login | RSS
[ New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Forum moderator: SecondHand, Rheiko, Daffa_Mage  
Forum » Dunia Modding Warcraft III » Trigger and Scripts » Credit Questboard
Credit Questboard
LembidiDate: Friday, 2014-05-09, 11:18 AM | Message # 1
Pemula
Group: Member
Messages: 16
Awards: 0
Reputation: 0
Status: Offline
Masbroe, kok ga bisa ya, gimana cara ngebuat Credit Questboard??
Scripts gua salah ya??

Code
library QuestZ initializer Credit

function Credit takes nothing returns nothing

   // Variables
   local string Helps
   local string Models
   local string Spells
   local string MusiCu
    
   // Setting
    
     // Helps
   set Helps[0] = "Thanks to this guys for helping me"
   set Helps[1] = " "
   set Helps[2] = " setmachine"
   set Helps[3] = " Adiktuz"
   set Helps[4] = " Kobas"
   set Helps[5] = " PurgeandFire"
    
     // Models
   set Models[0] = "Thanks to this guys for modeling"
   /*set Models[1] = "Thanks to this guys for modeling"
   set Models[2] = "Thanks to this guys for modeling"
   set Models[3] = "Thanks to this guys for modeling"
   set Models[4] = "Thanks to this guys for modeling"
   set Models[5] = "Thanks to this guys for modeling"
   set Models[6] = "Thanks to this guys for modeling"*/
    
     // Spells
   set Spells[0] = "Thanks to this guys for spell"
   set Spells[1] = " "
   set Spells[2] = " PurgeandFire"
   set Spells[3] = " moyack"
   set Spells[4] = " vexorian"
   set Spells[5] = " baassee"
   set Spells[6] = " TriggerHappy"
   set Spells[7] = " Deaod"
   //set Spells[6] = " "
   //set Spells[7] = " "
    
     // MusiCu
   set MusiCu[0] = "Thanks to this guys for Music"
   set MusiCu[0] = " "
   set MusiCu[0] = " MEW"
    
     // Command
   call CreateQuestBJ(Optional, "Helps", Helps, "ReplaceableTextures\PassiveButtons\PASBTNCredit.blp")
   call CreateQuestBJ(Optional, "Models", Models, "ReplaceableTextures\PassiveButtons\PASBTNCredit.blp")
   call CreateQuestBJ(Optional, "Spells", Spells, "ReplaceableTextures\PassiveButtons\PASBTNCredit.blp")
   call CreateQuestBJ(Optional, "MusiCu", MusiCu, "ReplaceableTextures\PassiveButtons\PASBTNCredit.blp")
    
endfunction
 
Daffa_MageDate: Sunday, 2014-05-11, 5:34 PM | Message # 2
Grand Leader
Group: Administrators
Messages: 76
Awards: 1
Reputation: 6
Status: Offline
initializer nya tidak ada (seingat ane Nestharus pernah ngajarin OnInit).
karena tidak ada Initializer, referensinya jadi gak valid dan trigger tidak bisa dibuat.

Ini seingat ane dengan pengalaman vJass.
 
LembidiDate: Tuesday, 2014-05-13, 6:29 PM | Message # 3
Pemula
Group: Member
Messages: 16
Awards: 0
Reputation: 0
Status: Offline
Bisa ente fix ga??
 
Daffa_MageDate: Friday, 2014-05-16, 1:56 PM | Message # 4
Grand Leader
Group: Administrators
Messages: 76
Awards: 1
Reputation: 6
Status: Offline
Tambahkan array setelah lokal, seperti ini :
Code
local string array Helps

Kalau error coba ini
Code
local array string Helps

tolong pos error JassHelper, karena bisa membantu smile
 
Forum » Dunia Modding Warcraft III » Trigger and Scripts » Credit Questboard
  • Page 1 of 1
  • 1
Search: