Friday, 2024-05-03, 6:01 AM


Main
Registration
Login
Welcome Guest | RSS  
[ New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Forum moderator: Hanky, Fireeye  
Clan NgO Forums » Discussions » Junk Yard » [GUI] Simple Drag Spell
[GUI] Simple Drag Spell
HankyDate: Friday, 2008-08-15, 8:47 PM | Message # 1
Lieutenant colonel
Group: Moderators
Messages: 116
Reputation: 9
Status: Offline
Well today I want to show you how should a simple gui drag spell look like. The spell itself is leakfree and totally MUI.
Quote

There's the first trigger:

The second trigger (at the start this trigger should be disabled):

The third trigger (at the start this trigger should be disabled):

The fourth trigger (at the start this trigger should be disabled):

Well Ok at the first trigger I initiated the variables. After that there will be the second trigger enabled which is a loop. This loop will more the rope and prove if enemy units are around. If enemy units around it will immediately enable the third trigger which will move the victim unit to the caster. If the rope hit nothing the trigger four will be enabled. The fourth trigger is just for the eye its the effect when the rope slowly become smaller.

The variables you need are:

Quote
type / name
real array / Example_Angle
real array / Example_TempDistance
real array / Example_Speed
real array / Example_MaxDistance
unit array / Example_Caster
unit array / Example_DragUnit
integer array / Example_Mode
ligthing array / Example_GFX
location array / Example_GFXBackLoc
location array / Example_GFXLoc
integer / Example_NothingActive
integer / Example_Size
integer / Example_GetActive
integer / Example_GetActive
location / Example_Loc
location / Example_Loc2
group / Example_Group
unit / Example_TempUnit

But I just can suggest to all GUI users to learn JASS cause with JASS you can make this much more efficient. For all who just want copy paste or just want to review the map here you got:
Mirror

See you guys!



Made by Smoe reworked by GiR aka Darkt3mpl3r
 
TheCheeseLoverDate: Saturday, 2008-08-16, 2:05 AM | Message # 2
Sergeant
Group: Users
Messages: 22
Reputation: 0
Status: Offline
Can you put yor editor in english plz biggrin i cant undersand your triggers THX. And do you have any tutorials for me for learn JASS or VJASS? I prefer tuto in english or in french plz :D.

Message edited by TheCheeseLover - Saturday, 2008-08-16, 2:14 AM
 
HankyDate: Saturday, 2008-08-16, 4:05 AM | Message # 3
Lieutenant colonel
Group: Moderators
Messages: 116
Reputation: 9
Status: Offline
Well thats no problem just download the map and you will get the triggers in your language. Because of that I uploaded the map. And to answer that with the JASS and vJASS tutorials. No currently we havent got self made tutorials but you can easily find some at www.wc3campaigns.net or www.hiveworkshop. The vJASS tutorial is btw inside the JassGenNewPack. Just read the html stuff in the zip.


Made by Smoe reworked by GiR aka Darkt3mpl3r
 
Clan NgO Forums » Discussions » Junk Yard » [GUI] Simple Drag Spell
  • Page 1 of 1
  • 1
Search:

Clan NgO © 2024Powered by uCoz