Mirage Source

Free ORPG making software.
It is currently Fri May 15, 2026 7:50 pm

All times are UTC


Search found 4 matches
Search these results:

Author Message

 Forum: Resources   Topic: Adding Weight To An Item

Posted: Thu Feb 07, 2008 8:31 pm 

Replies: 47
Views: 26212


Vegeta wrote:
Use Index instead of MyIndex.


K this works thanks to you and Matt! :D

 Forum: Resources   Topic: Adding Weight To An Item

Posted: Thu Feb 07, 2008 6:28 pm 

Replies: 47
Views: 26212


Dave wrote:
GetPlayerMaxWeight(MyIndex) & " / " & GetPlayerCurWeight(MyIndex)

the index arguement is, like it says, not optional.


lblWeight.Caption = GetPlayerMaxWeight(MyIndex) & " / " &

Variable not defined. :roll:

 Forum: Resources   Topic: Adding Weight To An Item

Posted: Thu Feb 07, 2008 5:42 pm 

Replies: 47
Views: 26212


If GetPlayerCurWeight(Index) > GetPlayerMaxWeight(Index) Then Call PlayerMsg(Index, "You are over encumbered!", White) Thats a key line of code for this system. If you want being over encumbered to carry penalties, that's pretty much how you would do it. I would probably take the above li...

 Forum: Resources   Topic: Adding Weight To An Item

Posted: Wed Feb 06, 2008 4:30 pm 

Replies: 47
Views: 26212


I found a bug.

If my max Weight 80, and my cur weight 79, but i want to pick an item when have 10 weight, i can... It says curr weight 89/ max weight 80... This is only in my source or the tutorial buggy? :roll:
Sort by:  
Page 1 of 1 [ Search found 4 matches ]


All times are UTC


Jump to:  
Powered by phpBB® Forum Software © phpBB Group