Is there any function that allows you to spawn a trigger? If so how would you go about telling it what size to make the trigger?
Any help with this issue would be very much appreciated.
Modifié par niapet, 22 avril 2011 - 07:55 .
Modifié par niapet, 22 avril 2011 - 07:55 .
Morbane wrote...
you could try to make a blueprint and spawn it like a placeable - the problem would be that a trigger isnt really a placeable so it might not spawn right without the correct OBJECT_TYPE_** constant.
Modifié par _Knightmare_, 23 avril 2011 - 01:21 .
Modifié par GhostOfGod, 01 mai 2011 - 03:49 .
niapet wrote...
Sorry I took so long to reply, I was waiting for some as5 to reseat my heat-sinks for a week..
Anyway Thanks for the script Knightmare, though I also want to allow players to rest in rooms. There Are to ways I can handle this. I could simply replace the triggers I am using in inn rooms with an invisible place-able tagged the same as the fire near the bed, or I could add a check for the local variable in the script as an alternative to the fire.
Anyway Thanks for the help!