Jump to content
Sign in to follow this  
ZiRo

_x distance _y

Recommended Posts

Right, heres what i need and i dont have a clue how to do it.

I need to get all the west men within a MOVABLE 10x200 rectangle along the direction of the dir between obj1 and obj2.

heres a pic:

Untitled-1.gif

i want to be able to get the number of west men in areas red and blue, but they can be entirley variable along the direction that obj1 is to obj2.

hope someone understands and could answer me.

And im asking cus i know triggers cant move.

-ZiRo

Share this post


Link to post
Share on other sites

Triggers cant move? Sure they can.

Trust me, they can.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">trigger1 setpos getpos GLTriggermove

Share this post


Link to post
Share on other sites

thanks. ok now i want to setmarkerpos as rectangle trigger and it wont budge. also how do i set a markers direction?

-ZiRo

Share this post


Link to post
Share on other sites

First of all, triggers are NOT markers.

And maybe try

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">trigger1 setdir 170

Dunno if it'll work, but probably.

Share this post


Link to post
Share on other sites

i never said they were.

what i ment though:

i want to set a recangular marker to the direction and position of a trigger.

im using setmarkerpos but it aint moving.

-ZiRo

Share this post


Link to post
Share on other sites

ok my only problem now : setting marker pos

Share this post


Link to post
Share on other sites

What you need and maybe are doing wrong is...

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">"markername" setmarkerpos [x,y]

Notice no height [z] for markers!

This should work proper.

Greetz

Plage

Share this post


Link to post
Share on other sites

lol

i ment seting marker dir crazy_o.gif

Share this post


Link to post
Share on other sites

Unfortunately, theres no way to set a markers direction crazy_o.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×