Home   Help Search Login Register  

Author Topic: Adding excute script to init of an object in wrpedit  (Read 1052 times)

0 Members and 1 Guest are viewing this topic.

Offline FiLL2d

  • Members
  • *
  • X.x
hi ppl, is it possible somehow?

Offline remcen

  • Contributing Member
  • **
  • a.k.a. hottentotten_mike
    • IM:UC
Re:Adding excute script to init of an object in wrpedit
« Reply #1 on: 08 Sep 2005, 22:37:02 »
you mean if you can have a wrpedit-placed object executed a script? as far as i know: no
ofp gets info about wrpedit placed objects from their named properties in the geo or first res LOD, not from config entries.
however, there might be a solution... if you can pass over an object number to a script, then you could set up a game logic particularly for your island with [object123456] exec "\addonname\script.sqs"; [object 123457] exec "\addonname\script2.sqs"; etc.
but i'm not sure if this works.... sorry. so the question is: can a script be executed with an object number instead of its name?
we're looking for members: IM:UC MOD

Offline FiLL2d

  • Members
  • *
  • X.x
Re:Adding excute script to init of an object in wrpedit
« Reply #2 on: 10 Sep 2005, 10:59:10 »
ok thanks for the feedback!