Jump to content
Sign in to follow this  
nephilim

Activating script on objects placed in wrptool

Recommended Posts

i implemeted some scirpt to one of my buildigns whic is automatically activated when the mission starts..

when i place the buildign ingame via mission editor

everything runs fine..

when i place the building via wrptool

simply nothing happens...

the scritps are usualy..

wanted to animate a kind of huge satlite bowl...

to turn continuosly left to right

the script is activated over a init EH in the buildings cfg

anyone know how i can make that thing work with

wrptool??

dotn want place satelite bowls over and over again and one by one...

thx fo any help

Share this post


Link to post
Share on other sites

This is because in map-editing you place p3d models, not config.cpp defined objects. The p3d does not know about, or care about the config and EH stuff you made.

What you'll need to do for creative EH's is make a little script that you can feed in an object number, and it then runs an EH on it. There's a tut somewhere, I think from Col. Klink, about making animated buildings.

My sem-uneducated guess is that the way that the four common building animations work is that they have specifically defined memory points, that the engine detects and works with. See Hlidac_budka.p3d (o), vez.p3d (data3d), and fuelstation.p3d (data3d), and the flagpole.

Share this post


Link to post
Share on other sites

hmm k

but prob is it shoudl be activated via action cmds...

anyways thx

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×