OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: beefholishness on 18 May 2004, 17:39:22

Title: object height/salute stop
Post by: beefholishness on 18 May 2004, 17:39:22
For example, how would i make a radio be on a table, or have a soldier begin on the second floor? and i cant get a soldier to stop saluting. ive tried timeout and countdown in the trigger, but neither of them seem to work. any suggestions? thanx
Title: Re:object height/salute stop
Post by: dmakatra on 18 May 2004, 18:54:30
1. Objectname setpos [(getpos objectname select 0), (getpos objectname select 1), X]

where X is the height

2. objectname switchmove "NULL"

:beat: *Gets Shot* :beat:
Title: Re:object height/salute stop
Post by: Blanco on 18 May 2004, 21:36:53
try

unitname switchmove ""

Title: Re:object height/salute stop
Post by: Dubieman on 18 May 2004, 22:18:29
On armstrong's X there it has to be +1 or -1 so it could be above or below normal position.

Title: Re:object height/salute stop
Post by: dmakatra on 19 May 2004, 09:02:19
You don't need a plus, never used that. However, you must have a minus if you want it below.

:beat: *Gets Shot* :beat:
Title: Re:object height/salute stop
Post by: beefholishness on 20 May 2004, 02:38:58
thanks guys, i go to chicago early tomorrow morning :P but when i come back i will definitely give 'em a try!