Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Exiting a function if an IF condition is true

Author
Message
Godless Joe
15
Years of Service
User Offline
Joined: 3rd Sep 2009
Location: probably somewhere too far?
Posted: 29th Sep 2010 16:03
Hi, I have the following problem:



So how do I get out of the function if the goblin manages to dodge a blow?

--
Abolish All Religions
Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 29th Sep 2010 22:23
exitfunction
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 29th Sep 2010 22:45
Quote: "DATA "Grog",0,5 ,45,50,45,40"


Woah, I had no idea I was in the Goblin Army.

Just so you know Zog is only the shaman because he made the funny shamans mask himself. I'd make a better shaman... no funny mask needed.

Dia
19
Years of Service
User Offline
Joined: 16th Jan 2005
Location:
Posted: 30th Sep 2010 14:16
bah everyone knows zog only became a shaman because he thought it would be useful to pull chicks. then of course he found out about the celibacy requirement

but yeah in answer to the question, exitfunction like GG says, just after you have printed 'but TARGET dodges' and before the endif

This is not the Sig you are looking for....
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 1st Oct 2010 04:35
Quote: "bah everyone knows zog only became a shaman because he thought it would be useful to pull chicks. then of course he found out about the celibacy requirement "


For some unknown reason I don't want to be the shaman anymore.

Godless Joe
15
Years of Service
User Offline
Joined: 3rd Sep 2009
Location: probably somewhere too far?
Posted: 2nd Oct 2010 09:56
Thanks guys.

Zog is the shaman because he was born that way (Probably dropped to the stone floor head first at childbirth).

And that is useful in pulling chicks. As any birth defect or special "ability". I should know, being a dumbass and all. All chicks fall before me.

--
Abolish All Religions

Login to post a reply

Server time is: 2024-11-23 07:14:24
Your offset time is: 2024-11-23 07:14:24