I found Unknown4c Function!!

Everything related to modding, mapping and software or hacks

I found Unknown4c Function!!

Postby panic » Thu Nov 19, 2015 2:34 pm

unknown4c mean holder of inventory!!

example code.
#MapInitialize
Gvar5 = create("WarHammer",Waypoint("SpawnHammer"))
call hitHammer
Gvar6 // holder of hammer

#hitHammer
var0[1]
___
var0 = MaxHealth(Gvar5) - CurrentHealth(Gvar5) // hammer hit the obstacle.
if not var0 != 0 jump 10
restoreHealth(Gvar5,100)
Gvar6 = unknown4c(Gvar5) // holder of hammer.
enchant(Gvar6,"ENCHANT_SHOCK",f5)
castSpellOn("SPELL_EARTHQUAKE",Gvar6,Gvar6)
:10
FrameTimer(1,c) // 'c' mean Current function number.
return



this map use unknown4c function...!!
map name is 'Magic Swords Duel. !!'
Attachments
!test.zip
(127.58 KiB) Downloaded 511 times
panic
Veteran
Posts: 336
Joined: Thu Nov 12, 2015 3:47 pm

Re: I found Unknown4c Function!!

Postby Host_6 » Mon Aug 01, 2016 11:58 pm

I've added this function to the new version of Map Editor under the name: "GetHolder" even with description, thanks
User avatar
Host_6
Special
Special
Posts: 117
Joined: Wed Jul 09, 2014 12:21 am


Return to Modding & Mapping

Who is online

Users browsing this forum: No registered users and 31 guests

cron