OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Killzone on 20 Mar 2003, 06:44:36

Title: Transport
Post by: Killzone on 20 Mar 2003, 06:44:36
Hi is it possible to make a script so that I can transport anywhere on the map (multiple times) just by clicking on a spot on the map.


 ;D ;D ;DThanks man ;D ;D ;D
Title: Re:Transport
Post by: dmakatra on 20 Mar 2003, 08:09:59
Hmmm. I can make that.... I think... :P
Title: Re:Transport
Post by: Chris Death on 20 Mar 2003, 14:51:48
@ Killzone - Put this into your init.sqs:

onMapSingleClick {player setpos _pos}

@ Armstrong - me really starts enjoying your posts  :-\

~S~ CD
Title: Re:Transport
Post by: dmakatra on 20 Mar 2003, 19:49:33
@ Armstrong - me really starts enjoying your posts  :-\

 ???

I didnÂ't know it was so easy. I thought I checked a couple of single-map-click-scripts and see how they did. I tought it was more advanced than this, that is why I posted the "think" thing. :-* ;)
Title: Re:Transport
Post by: Killzone on 21 Mar 2003, 02:50:42
Thanks I will try it out when I get home..............