FSIC Messageboard
  Tech Talk
  altering a CDial

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   altering a CDial
bjorn
Pilot
posted 05-13- 12:58 PM     Click Here to See the Profile for bjorn     Edit/Delete Message   Reply w/Quote
A long time ago, I defined functions for CDial objects to redefine their Max/Min values, that were used to simulate instrument damage. This worked fine. Now, however, I was thinking that I'd make the control stick switch over to use the right aileron as the data source if the left one was gone.

I defined this function for the stickAileron object:

code:

(obFunc (useRight (
obSmokeTrail (smkColor 255 0 0)
dataSource 'aileronR
dataQuery (qryPosition 'aileronR)
)))

When the left wing tip detaches the function is called. It doesn't have any effect at all, other than to spout out red smoke, though :-(

What gives? What's wrong?

IP: Logged

jedi
Pilot
posted 05-13- 08:16 PM     Click Here to See the Profile for jedi   Click Here to Email jedi     Edit/Delete Message   Reply w/Quote
If you can't get it working, maybe just make a duplicate stick, key it off of the other aileron, obHide it, and if the first aileron is shot off, obDetach the original stick and unHide the second one.

Might work?

------------------
--jedi--

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | Fighter Squadron Information Center

(This site Copyright (c) 1999 Inertia LLC)

Powered by Infopop www.infopop.com © 2000
Ultimate Bulletin Board 5.45c