FSIC Messageboard
  Tech Talk
  obFunc redefinition

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:   obFunc redefinition
bjorn
Pilot
posted 04-02- 08:19 AM     Click Here to See the Profile for bjorn     Edit/Delete Message   Reply w/Quote
Can a function be redefined to have another meaning after some event? I tried just another obFunc with the same name, but as the docs state, this appends to the previous one, which is not at all what I wanted.
_
/Bjorn.

IP: Logged

Raider
Pilot
posted 04-02- 11:01 AM     Click Here to See the Profile for Raider   Click Here to Email Raider     Edit/Delete Message   Reply w/Quote
bjorn, I think that once an obFunc is loaded at runtime that it cannot be changed. I think you will have to have a second name for the second event.

You can have one obExec call different Func and in different parts of the plane at the same time.

onDmg 2
obExec
Name 'Wing
Func ' Tear
Name ' Rudder
Func ' Break

Something like that.

------------------
Raider 33rd~GS
Raiders Site

IP: Logged

bjorn
Pilot
posted 04-02- 02:45 PM     Click Here to See the Profile for bjorn     Edit/Delete Message   Reply w/Quote
I fear you may be right, but that's not enough for what I want to do. Can anyone figure out a way of achieving the same result as if a function was redefined at runtime?
_
/Bjorn.

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