UltimateHK47 Posted March 5, 2012 Share Posted March 5, 2012 Well, I made a computer placeable, set it to useable and the dialog dia, spawned it with this script void main() { CreateObject(OBJECT_TYPE_PLACEABLE, "arcsimu", Location(Vector(54.72,64.95,1.80), 0.0)); } And I can select it but nothing happens. What have I missed? Link to comment Share on other sites More sharing options...
Dak Drexl Posted March 5, 2012 Share Posted March 5, 2012 It's been a while so I don't remember exactly what the fields are called, but in your placeable's .utc there should be a field called something like "onused" or "onactivated". In this field, you put in the name of a script that you're about to make. That script is a fire dialog script which you can easily find here with some searching. In this script, you'll have it point to your placeable's dialog file. So it's like a 3-step thing you have to do. Note that this applies to k1, I'm not sure at all if it's any different for TSL. Link to comment Share on other sites More sharing options...
UltimateHK47 Posted March 5, 2012 Author Share Posted March 5, 2012 Cheers Dak! Link to comment Share on other sites More sharing options...
Dak Drexl Posted March 5, 2012 Share Posted March 5, 2012 Not a problem - let me know if you have more questions. Also realized that it's the .utp file for placeables, right? Didn't mean to steer you wrong there. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.