View Full Version : help needed
supergrunt
Nov 7 2001, 01:16
i cant be able to put a phone on a desk anybody got some ideas??
thanks
i was trying other night but got bored, could try placing it off the ground so it lands on table do a search on forum for towers an there a guide how to place items in air
Create table.
Create phone and write PH1 on Name field
On Init field write
[PH1] exec "Phone_Table.sqs"
Save mission.
Alt-Tab
Open text editor and write
_Object = _this select 0
_ObjPos = getpos _Object
_ox = _ObjPost select 0
_oy = _ObjPost select 1
_Object setpos [_ox, _oy, 0.5] ;change 0.5 for other value, for right table heigth
Exit
Save file into mission directory. File name must be Phone_Table.sqs
Return into OFP editor and press Preview.
(Edited by Shirson at 4:32 pm on Nov. 7, 2001)
supergrunt
Nov 8 2001, 13:52
thanks man this helps a lot now i can have my command center up and running
why does everyone result into scripts for? y dont u just use the height command in the init field of the object.
</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">Quote: from Rob on 12:25 am on Nov. 9, 2001
why does everyone result into scripts for? y dont u just use the height command in the init field of the object.[/QUOTE]<span id='postcolor'>
Yep, but script more visual.
For init string:
PH1 setpos [(getpos PH1) select 0, (getpos PH1) select 1, 0.5]
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.