HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

recursive functions?

11-21-2002, 04:24 AM#1
Guest
how would you put these in your maps?
where will you have to place the function in the first place and how to call/return from them?

and how do arguments works?
11-21-2002, 04:41 PM#2
weaaddar
Wrong forum.
11-22-2002, 10:51 AM#3
Guest
uuh where should i ask then?
11-22-2002, 12:03 PM#4
ph33rb0
Weaadar why not just have one of the admins make the description of the repository say THIS IS NOT A HELP FORUM in red letters.
11-22-2002, 01:57 PM#5
DKSlayer
I don't know what they are talking about, Unless You posted this in the Trigger Repositoroy, Anyways Are you talking about a Custom Text Trigger? If so JASS Blizzards scripting language for this game is really powerful. I would compare it to Java mostly, but shares many thing with other languages.
If this is your question than I can help you. You say recursive function. I have heard that before, probably in one of my three programming classes, Explain a hair more and I will know what you mean.
Thanks
DKSlayer
11-22-2002, 10:02 PM#6
Guest
Yes you can do recursive functions. By recursive he means a function that calls itself.

Custom text is the only way I believe you can do it though. Well, I guess you could use global variables and execute the trigger from itself.

Ask a specific application and we'll try and help you more.

Care.
11-24-2002, 03:11 PM#7
Guest
i posted this in map creation NOT trigger repository....
and its still here..

if im not supposed to post it here, then where?

and yes i want to know how i would make a function call itself....

basically if i knew how you put jass in the WE:

1. How do I call it from another trigger/function
2. Where would i put this custom code? Inside another trigger with no events?
11-24-2002, 03:59 PM#8
weaaddar
Sorry you posted in trigger repository check the repository theres still a redirect to this forum there.
11-24-2002, 05:36 PM#9
AIAndy
You put custom text in WE by converting a trigger to custom text (it is a menu option there).
11-25-2002, 06:27 AM#10
Guest
sorry.. and i was making sure to post it in map development too... :(

um yeh i know to choose convert to custom text.. but i just want to know the format behind calling a function, and how to set one up

if i convert a trigger into custom code, it comes with like 4 functions, and 3 of them is probably useless..