HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Regions on the fly

06-16-2004, 11:35 PM#1
LrdSlothPaladin
is there a way to make regions in game on the fly? I want to make traps that are generated randomly at the start of the game and creatable later in the map, is there a way to create a regon that could be used by a generic trigger (like if the first 5 letters of the regon matched a string the trigger would run) or would I have to create a pre-defined number of regons and have an ugly if else. If this is confusing I will make an example in WE but as of now my computer is FUBR.
06-16-2004, 11:45 PM#2
th15
I think WEU has functions for creating rects and regions on the fly.
06-17-2004, 01:01 PM#3
johnfn
You can just make a Region variable and set it to whatever you want. In fact, regions and rects get me all mixed up, I can never tell the difference, so you might be able to make both o' them.