Gate Question - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Gate Question (
/showthread.php?tid=77305)
Gate Question -
Klutty - 10.05.2009
When I make a gate, can I just get like 3 coords, one where it should be and 2 others closed and opened so like
----------------------
| |
|c2 c1 c3|
---------------------
c1: main coords
c2: closed coords
c3: opened coords
And then just CreateObject for c1
And MoveObject for c2 and c3 ?
I know everything with the 'new gate;' etc
Thanks
Re: Gate Question -
Gamer007 - 10.05.2009
You know, you could give it a try before posting. Sure it will work
Re: Gate Question -
Klutty - 10.05.2009
Quote:
Originally Posted by Gamer007
You know, you could give it a try before posting. Sure it will work
|
Mh, I'll give it a try, I'll report here if it doesnt ehm, work.
Re: Gate Question -
Burridge - 10.05.2009
You don't need to create an object at C1, you create the object in the same position of when it is closed.
Otherwise it would open to where you'd want it, but when you close it, it wont close properly, You just need the opened, and closed co ordinates.
Re: Gate Question -
Klutty - 10.05.2009
Quote:
Originally Posted by Burridge [outbreakrp.co.uk
]
You don't need to create an object at C1, you create the object in the same position of when it is closed.
Otherwise it would open to where you'd want it, but when you close it, it wont close properly, You just need the opened, and closed co ordinates.
|
Yeah, you mean that I can use c1 as closed at c3 as opened.
Yes it works, thanks for the help Burridge.
Re: Gate Question -
Burridge - 10.05.2009
Quote:
Originally Posted by Klutty
Yes it works, thanks for the help Burridge.
|
No problem.