Forum Jump :

Author Message


Posts: 17
Rank:


Level: Member

Country: ca
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2009-04-17 00:47        
     
I need help with a small script. I need one that will set a unit so many meters high on spawn. If anyone could help it would be greatly appriecieted.

Thanks


Author Message


Posts: 20614
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 43
In-game name: Foxhound

 
#2 Posted at 2009-04-17 07:15        
     
Add this to the init:
this setPos [getPos this select 0,getPos this select 1,x]
Where x should be replaced by a number to put the unit up in the air.


[edit]
I just realised you are using a spawn script. So than you should not put it in the init but incorporate the command line i posted into the script.
If you are not sure how to put it in the script please post the script you are using.

This post was edited by Foxhound (2009-04-17 07:38, ago)

Visit my family webshop desteigerhoutshop.nl.

Advertisement


Author Message


Posts: 17
Rank:


Level: Member

Country: ca
Location:
Occupation:
Age:
In-game name:

 
#3 Posted at 2009-04-19 19:08        
     
I need the script itself. ie onrespawn this........


Author Message

Myke  

Mc Script


Posts: 1034
Rank:


Level: Member

Country: ch
Location: St. Gallen
Occupation: Armaholic addon tester
Age: 49
In-game name: Myke

 
#4 Posted at 2009-04-19 19:15        
     
By providing 3 sentences (one sentence countains just an ask for help) we should guess what you have or not, what you try to do where and why.....

How about a little more info for us so we can see which of the thousands of script i have gathered here in my box would fit best for your problem?


Author Message


Posts: 17
Rank:


Level: Member

Country: ca
Location:
Occupation:
Age:
In-game name:

 
#5 Posted at 2009-04-19 20:22        
     
I need a script to place a unit 20 meters in the air on respawn. I have nothing yet.


Author Message


Posts: 17
Rank:


Level: Member

Country: ca
Location:
Occupation:
Age:
In-game name:

 
#6 Posted at 2009-04-23 01:58        
     
How would I put someone _ meters in the sky using this

#start
@ (! alive player)

@ (alive player)

goto "start"