Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,473 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
FLAG - function comment marker #336430
08/03/10 20:50
08/03/10 20:50
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline OP
Expert
Rei_Ayanami  Offline OP
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Hello,

The rename FLAG1-8 for WED does not work, when I use the
function comment marker. This was already mentioned in a
thread some times ago, but we never got a reply.

Here is an example:


As you can see, in the standard the flag names are missing,
while you can see them, when I *rightclick* on the entity
and *click* on "Behaviour".

The code for that would be:
Code:
// title: Door
// text : Setzt die nötigen Türoptionen
// flag1: Key1 0
// flag2: Key2 0
// flag3: RepBook 0
// flag4: AtmoDoor 0
// flag5: FinalDoor 0
// flag6: FakeDoor 0
// flag7: NoMirror 0
// flag8: GetClosed 0
// skill1: Endangle 90
// skill2: Speed 5



Hope you can fix that,
Thank you and best regards,
Marian Frische

Re: FLAG - function comment marker [Re: Rei_Ayanami] #336438
08/03/10 23:07
08/03/10 23:07
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
It does work.

#define power FLAG1

//uses: power
action ...

(EDIT: Not sure if you know this already.)

Last edited by Superku; 08/03/10 23:09.

"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: FLAG - function comment marker [Re: Superku] #336454
08/04/10 07:57
08/04/10 07:57
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline
Expert
Helghast  Offline
Expert

Joined: Jan 2004
Posts: 3,023
The Netherlands
yes, if you define the flag on beforehand, but you dont want to have to do that for every different action... different actions use the flags for different purposes most of the time in my code.

And also, as mentioned in that other topic, can we _please_ get string renaming done as well?

EDIT: I have requested this a while ago for A7, hope it can still get in an update for A7 as well..

regards,

Last edited by Helghast; 08/04/10 07:58.

Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Re: FLAG - function comment marker [Re: Helghast] #336466
08/04/10 09:30
08/04/10 09:30
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Yes, flags are redefined with the "uses" comment tag. It's already on my list to also implement "flag1" etc. comment tags, but working on the comment tags is planned for a future version, not for A7.


Moderated by  jcl, Nems, Spirit, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1