• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[vJASS] Help with The Witcher's 3 systems

Status
Not open for further replies.
Level 3
Joined
Dec 4, 2008
Messages
24
Hey guys! im having a bad time with the three systems developed by The Witcher since im not that familliar with Jass but because of this systems i learned a few bout Jass

1) His Advanced Equipment System = AES
2) His Cam,Keyboard&Movement System =CKMS
3) His Bag System = BS

can somone help me with the following problems:

FIRST) bout his AES i found out that theres a function called EquipmentTransfer w/c basicaly transfers all of unit A's equipment to unit B but i dont quite understand how it works so far the only reference of this

Custom script: call TransferEquipment (udg_u, udg_dummy)
Wait 0.10 seconds
Player - activate morph for Player 1 (red)
Unit - Order u to bearform
Player - deactivate Morph for Player 1 (red)
Wait 0.10 seconds
Custom script: call TransferEquipment (udg_dummy, udg_u)

Can Somone make me a map example of this function so that when i equip an item this will happen then when i unequip it the reverse of this trigger will happen because i found a function for equiping/unequiping item event here it is

JASS:
 function TriggerRegisterItemEquipEvent takes trigger t returns nothing
        set OnEquipTriggers[OnEquipTriggers_total] = t
        set OnEquipTriggers_total = OnEquipTriggers_total + 1
    endfunction
    
    function TriggerRegisterItemUnequipEvent takes trigger t returns nothing
        set OnUnequipTriggers[OnUnequipTriggers_total] = t
        set OnUnequipTriggers_total = OnUnequipTriggers_total + 1
    endfunction
    
    function GetTriggeringItemId takes nothing returns integer
        return TriggeringItem
    endfunction
    
    function GetEquippingUnit takes nothing returns unit
        return EquippingUnit
    endfunction



and what does the dummy mean? should i create a new dummy to hold the items for awhile or the Equipment dummy itself
an explaination will be nice TY

and lastly bout all of his systems its said that its all MPI so how exactly will i implement it?

Some of u will tell me to contact him but i did PM him and so fa no reply and im on the rush to finish my map

TY in Advanced + rep for the help
 
Last edited:
Status
Not open for further replies.
Top