# Picture Drawing Trigger

#### Craigimus

##### New Member
Not very sure how to do this xD may not be possible but ill ask anyway

i want to have a random picture (out of 6 or 7 different pictures) drawn on the ground using well smoke smudge ? or something that would work

and you need to walk around the smoke smudges to make the picture kind of like tracing and when you finish one picture another random picture will come up and you have to trace that one.

Giving you points each time you finish a picture based on how fast you did each picture.

#### Cheddar

##### This is the way it was meant to be.
There's two different ways to do this.

The first uses an extremely large amount of time, trial and error, setting variable points equal to X and Y offsets and testing it each time to try and get it perfect.

The second (Which I consider easier), would be to have another player create the picture by moving a unit, then setting all of those points into variables. This way you don't need to test and re-test your map a billion times over to get a picture right; plus, it's a new game every time.

#### Craigimus

##### New Member
so i could create a random unit for computer and make that unit move into a picture i would like ? leaving a trial of fire ? or smoke smudges or something like that ? making each one a variable

how would i trigger it all up though xD?

#### Cheddar

##### This is the way it was meant to be.
~Create the Computer player.
~Turn on a trigger that periodically makes Smoke Smudges at the computer's unit, and stores each smoke smudge position into a variable.
~Have that computer walk around for a while.

When you're all done...
Create the re-drawer unit for however many players there are.

Let me make a sample trigger (Don't have World Editor in front of me, but here's what I think would work:

Code:
``````Events: Every 0.04 seconds of game time
Conditions:
Actions: For each Integer A from 1 to (Number of players), do Actions:
If [B]ThatNumberYou'reOn[/B] Equal to 0,
Then Set [B]ThatNumberYou'reOn[/B] Equal to 1,
Else _________ (Don't put anything here)
Set [B]TracerPoint1[Integer A][/B] Equal to Position of [B](PlayerDrawer[Integer A])[/B]
Set [B]TracerPoint2[Integer A][/B] Equal to Position of [B]DrawingDestination[ThatNumberYou'reOn][/B]
If (Distance between TracerPoint1[Integer A] and TracerPoint2[Integer A] Less than or equal to 75,
Then Set [B]ThatNumberYou'reOn[/B] Equal to [B]ThatNumberYou'reOn[/B] + 1
Remove SmokeSmudge[[B]ThatNumberYou'reOn[/B]] from the game
Else _________``````
It's very sloppy, and it only works for one player, but you should get the drift.

#### Craigimus

##### New Member
i dont quite understand xD sorry

General chit-chat
Help Users
• No one is chatting at the moment.
• The Helper:
it is all percolating man
• The Helper:
TheHelper.net #1!
• Wizard:
#1
• The Helper:
LOL I love this place
• Wizard:
;D
• Wizard:
We all do.
So what is next for thehelper.net? Is there a new set goals yet?
• The Helper:
yes we are going to be expanding
+1
• The Helper:
help more people
• The Helper:
• The Helper:
Look at Mountain Shadow in the chat!
• The Helper:
welcome to thehelper.net
thanks although I'm really kind of regretting this name lol ... is there a way to change it out or will I need to make a new account?
+1
• Wizard:
One of us can change it for you, I believe. Just send me a PM on what you want.
• Ghan:
Some day we should get the feature where you can change your own name.
• Wizard:
Soon!
• The Helper:
did the mountain shadow get his name changed? personally I think Old Mountain Shadow is a kickass name
• The Helper:
but what do i know lol
• Wizard:
+1
Thanks, lol! I haven't quite come up with a good new one yet. I was gonna default to one of my older usernames: Cha Zui = tea drunk in Chinese but then decided it too didn't quite fit right. I'm not asian lol... But I am tall, and old spirited which is sort of where the Old Mountain Shadow came about.
Either way I appreciate the willingness to help me change it! Should I discover something better I'll swap it, but for now ill stay with what I got.
• The Helper:
If you want a change like they said earlier just let us know
+1
• Ghan:
Patched and rebooted the server this morning.
• Ghan:
• The Helper:
dam pwnkit what a name probably perfectly describes it