Jump to content
  • 0

2 or more call function in random box


Kudo

Question


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  100
  • Reputation:   0
  • Joined:  08/18/12
  • Last Seen:  

how to use the call function in 2 or function script? this is my example script in item_db

can someone correct this script? i want to call 2 or more script..

17767,Advertisment_Box_Price,Advertisment Box Price,18,0,,1,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc ("CustomBox","CustomBox1";) },{},{}

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

17767,Advertisment_Box_Price,Advertisment Box Price,18,0,,1,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "CustomBox"; callfunc "CustomBox1"; },{},{}

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  100
  • Reputation:   0
  • Joined:  08/18/12
  • Last Seen:  

3 minutes ago, Patskie said:

17767,Advertisment_Box_Price,Advertisment Box Price,18,0,,1,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "CustomBox"; callfunc "CustomBox1"; },{},{}

 

i already did that syntax but still noting happens when i click the box

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

16 minutes ago, Kudo said:

i already did that syntax but still noting happens when i click the box

 

Maybe your function does not work well hence the issue

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  215
  • Reputation:   45
  • Joined:  05/03/13
  • Last Seen:  

Hello,

When opening your item, check your map error, it'll tell you if it can't find "CustomBox", if that's the case, you have an error when loading your function that you have to correct.

If not, that's what Patskie said, you have a problem in your function directly that does not work as you think and you need to debug it.

Edited by Kreustoo
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  100
  • Reputation:   0
  • Joined:  08/18/12
  • Last Seen:  

4 hours ago, Patskie said:

Maybe your function does not work well hence the issue

@Patskie no no dude theres no problem in my function  because if i use 1 function only it will works normally... my problem is i need to call 2 function in 1 box..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...