IPB


Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> error, error dans la page outro défaite
blacksender
post Feb 24 2009, 22:31
Post #1


Junior Member
**

Group: Members
Posts: 13
Joined: 9-March 08
Member No.: 2,606



Bonjour à vous

J ai trouvé un petit script sur le forum pour que le scud lance son missile avec un déclencheur.
il marche trés bien en mission mais.

Chose bizzare quand je le mets sur la page outro defaite et lance une prévue il me donne un message d erreur.

`(_car |#|animationphase "StandFrame" ==1)`
Error animationphase: Type Booléen, Objet attendu


le script:

; Name scud unit : scud
; 1-After detection of blu, script wiil wait 3 seconds before starting de launch
~3
; 2- Check if scud is alive then start rising the missile + ramp

if (not alive Scud) Then {Exit}
[this] exec "\GIG_Scud\stand.sqs"
~25
; 3- Launch the missile

If (not alive Scud) Then {Exit}
[this] exec "\GIG_Scud\launch.sqs"
~60
; 4- Missile will fall and make the explosion. 10000 , 9800 are the coordinates of the impact point.Actually it is
; Paraiso Airport

[10000,9800] exec "\GIG_Scud\fall.sqs"
~2
[10000,9800] exec "\GIG_Scud\exp.sqs"
; END SCRIPT


merci de votre aide Blacksender.
 
Quote Post
Rewan
post Feb 25 2009, 13:13
Post #2


ArmA.info Sarcasm Society's Beast of War
Group Icon

Group: Site Team
Posts: 547
Joined: 4-November 06
From: Marseille
Member No.: 12



Déjà... ben c'est pas dans ton script qu'il y a une merde vu que la ligne posant problème ne s'y trouve pas...


--------------------
This is my totaly useless signature


Lazyness = mc²
 
Quote Post
blacksender
post Feb 26 2009, 00:35
Post #3


Junior Member
**

Group: Members
Posts: 13
Joined: 9-March 08
Member No.: 2,606



Bonjour avec ceci c' est mieux peut etre.


[this] exec "\GIG_Scud\stand.sqs":

_car = _this select 0

?(_car animationphase "StandMissile" == 1) : exit

~0.5

_car say "GIG_ScudStand"
_car animate ["StandMissile",1]
_car animate ["StandFrame",1]
@(_car animationphase "StandFrame" == 1)

~1.0

_car say "GIG_ScudStand"
_car animate ["StandFrame",0]
@(_car animationphase "StandFrame" == 0)

_car vehiclechat "Stand ready"

~2.0

?((_car animationphase "Trigger1") == 1) : _car vehiclechat "Launch preparation... all completed"

exit
 
Quote Post

Reply to this topicStart new topic
6 User(s) are reading this topic (6 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 9th July 2020 - 20:57