3 Commando Brigade

Realism. Tactics. Fun.

+ New Topic + Post Reply
1 post in this topic
Posted: Sun Nov 24, 2013 10:53 am     Super secret spam barrier
Quote
Offline
1st Lieutenant
1st Lieutenant
Other duties:
Game Admin
Site Admin
Modder
Founder

Posts: 6573
Location: Surrey UK
Ribbons:
Service Medal (7) Media Man (2) Donator (1)
Modding Team (1) Frag of the match (1) Leadership (1)
Public Regular (1) Operation Medal (3)

Need help with scripts


Put this in the init of the object you are placing

this setvectordirandup [[1,0,0],[0,0,1]]; this setposATL [getposATL this select 0, getposATL this select 1, 4.5];

It's not simple to use mind; the setvector command deals with orientation to world i.e. rotated etc it's a bitch to use as it's not logical at all for me, experiment changing the numbers from 0 to 1 in decimal increments.


the setposATL is easier - the last 4.5 is the height above the map.

There is documentation on it, just google each of the commands.

SJ


+ New Topic + Post Reply


Who is online

Users browsing this forum: No registered users and 82 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

cron
phpBB © Forum Software
© 3 Commando Brigade Gaming Community
All images belong to their respective owners


3CB Modern design by Jamie Goodson
WysiBB