Floortext appears randomly - how?

Questions about how to create your own dungeons and replacement graphics and sounds.

Moderator: George Gilbert

Forum rules
Please read the Forum rules and policies before posting.
Post Reply
User avatar
Trantor
Duke of Banville
Posts: 2466
Joined: Wed Mar 09, 2005 4:16 am
Location: Berlin, Germany
Contact:

Floortext appears randomly - how?

Post by Trantor »

I tried doing a floortext that is displayed randomly instead of every time you walk over the tile. In order to achieve this, I built an invisible floor text and a trigger on the same tile that activated the text with a certain probability. I also added another trigger that deactivated the floor text, so the randomness of the text remains. This all works with one problem: The text is now displayed twice. I tried a short delay in the deactivate trigger, constant weight triggers, and replaced my triggers with just one that toggles the text, all with the same result. What I can do so the text is displayed only once?

Yay, 1000th post!
User avatar
linflas
My other avatar is gay
Posts: 2445
Joined: Tue Nov 04, 2003 9:58 pm
Location: Lille, France
Contact:

Post by linflas »

try with wallitem_speech instead of flooritem_text
User avatar
Trantor
Duke of Banville
Posts: 2466
Joined: Wed Mar 09, 2005 4:16 am
Location: Berlin, Germany
Contact:

Post by Trantor »

You are my hero Linflas! :D Thanks once again!
User avatar
linflas
My other avatar is gay
Posts: 2445
Joined: Tue Nov 04, 2003 9:58 pm
Location: Lille, France
Contact:

Post by linflas »

i'm just a dead champion in a mirror ;)
User avatar
Trantor
Duke of Banville
Posts: 2466
Joined: Wed Mar 09, 2005 4:16 am
Location: Berlin, Germany
Contact:

Post by Trantor »

And gay at that! :wink:
User avatar
beowuuf
Archmastiff
Posts: 20687
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

Congratulations Trant - not long til Archmaster!
Post Reply