OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: shmoodevil on 21 Feb 2005, 04:41:50

Title: WAY POINTS
Post by: shmoodevil on 21 Feb 2005, 04:41:50
HOW DO YOU MAKE A NONPLAYABLE  MAN GET IN A TOWER,USEING THE WAY POINTS.
Title: Re:WAY POINTS
Post by: RujiK on 21 Feb 2005, 17:51:24
Is all caps against the rules? I wouldn't be surprised... But to answer your questions it is a heck of alot easier to use setpos.

ie:Homie_G setpos [(getpos Homie_G select 0),(getpos Homie_G select 1),10]
Title: Re:WAY POINTS
Post by: The-Architect on 21 Feb 2005, 23:47:57
You don't need to write homie everywhere. You can use "this". That way you can copy and paste the text into any init and set the height of multiple guy/objects with the same line of text.
Title: Re:WAY POINTS
Post by: Blanco on 22 Feb 2005, 01:35:56
You can also make him climb in the tower.

- Click in the editor "view ID" and find the ID of the tower.

Example : 33751, a tower on Kolgujev, just below the top left corner in sector Fj-63
 
- Name a soldier (guy) and place a waypoint just in front of the ladder.

- in the onactivation field of the WP :

Guy action ["ladderup",(object 33751)]

If you use a tower addon, name the tower and use it's name in stead of the object ID.
 



Title: Re:WAY POINTS
Post by: Dubieman on 22 Feb 2005, 01:48:19
Wow, lets go a bit easier on him...

Welcome to the forums and well everyone just gave you some ways to get that guy up into a tower.

I suggest you take a look into the ed depot into tutorials and such.  ;)