Jump to content
  • 0

Block unequip a equip vía function


SusanoSprites

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  10/06/12
  • Last Seen:  

Is it possible to create a script that blocks the action of unequip armor's on a specific map? Or block unequip vía function.

 

Edit: I diff with @Xantara equip2 i compile and launch error in status.inventory line.

I follow this guide:Equip2 guide link

 

Txs first

 

Pd: Sorry the bad English 

Edited by SusanoSprites
Add more info
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  513
  • Reputation:   83
  • Joined:  08/11/12
  • Last Seen:  

I think it is. Just a combination of logics between OnPCLoadMapEvent, OnPCStatCalcEvent and Strcharinfo. Or if you're into it, manually do it via database onequip script.

 

//edit

You can also create a mapflag and a new script event like OnPCEquipEvent via source modding

Edited by Ninja
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  10/06/12
  • Last Seen:  

Hmmm ok. @Ninja Could you give me a specific idea? I do not have ample knowledge in src.    

 

 

 

Thx

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  10/06/12
  • Last Seen:  

Bump.

 

I need help with this Equip2 guide. Compile errors

Edited by SusanoSprites
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...