![]() I realise this isn't very specific but these are ideas to get you started in a good direction. That is relatively straightforward, using PlaceAtMe(). For the actual moving, you will pretty much need to use MoveTo().Įventually you will want to look into maybe having special FX as well, for example an explosion at the source and destination locations. However, if you told your follower to stay in a specific spot then you're gonna have to go back to that spot and tell them to follow you again or you can just hire another follower which should unhire the other follow. ![]() ![]() Moves the actor/object to a random point within 1-30 units along X, Y and Z coords, relative to itself.įor the second, will it be on a timer, whenever they're hit, whenever they're hit by a specific attack/person, etc? There is an objectreference event OnHit() that might be useful. Answer: They should fast travel with you so you don't need to ‘teleport them. ObjectReference MyMarker = Game.GetPlayer().PlaceAtMe(YourMarkerBase) Creates a new object of type yourmarkerbase where the player is Another method would be to create on the fly, a marker at a random location relative to a reference (eg. If you configure them all as auto properties in your script, you can then read them into an array and use randomint to randomise which one is used. In no particular order, you have to create points to where the NPC can teleport, evaluate the conditions to decide if they should teleport, and the teleport mechanic itself.įor the first, if it's a specific area, you can drop some invisible markers around the cell in the CK. There are 3 main aspects that I can see to realising this idea. Is this fight a one-off? Will it always take place in a specific location? Lastly, are his/her teleports "short-range", (ie.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |