Hello all,
So with the include "nw_i0_2q4luskan" you can use CreateObjectVoid() which is a wrapper for CreateObject but circumvents the return object and allows you to - in theory - DelayCommand(float, CreateObjectVoid(...) the thing is I can't get it to work...
Any tips from someone that has gotten it to work?
CreateObjectVoid()
Débuté par
Morbane
, juil. 29 2010 09:50
#1
Posté 29 juillet 2010 - 09:50
#2
Posté 29 juillet 2010 - 10:15
Woot! I got it to work! This is the line in the ga_* script that does it:
AssignCommand(GetModule(), DelayCommand(2.0f, CreateObjectVoid(OBJECT_TYPE_PLACEABLE, "placeable_1", lLoc, FALSE)));
The two things that I didn't get right at first were AssignCommand.... and GetModule() for the action subject.
AssignCommand(GetModule(), DelayCommand(2.0f, CreateObjectVoid(OBJECT_TYPE_PLACEABLE, "placeable_1", lLoc, FALSE)));
The two things that I didn't get right at first were AssignCommand.... and GetModule() for the action subject.
Modifié par Morbane, 29 juillet 2010 - 10:17 .
#3
Posté 29 juillet 2010 - 03:47
There is another example of this in a post of mine in a thread further down the page.
social.bioware.com/forum/1/topic/164/index/3175939
The script posted is about half way down the page.
Edit: edit doesn't always seem to work here?
social.bioware.com/forum/1/topic/164/index/3175939
The script posted is about half way down the page.
Edit: edit doesn't always seem to work here?
Modifié par Quilistan, 29 juillet 2010 - 03:50 .
#4
Posté 29 juillet 2010 - 07:53
oot: edit just takes some time. You should try to refresh the page after an edit.





Retour en haut







