Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,619 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
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 | 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